-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Chuanbo Hua <[email protected]> Co-authored-by: ngastzepeda <[email protected]> Co-authored-by: ahottung <[email protected]> Co-authored-by: Leon Lan <[email protected]> Co-authored-by: N-Wouda <[email protected]>
- Loading branch information
1 parent
d845923
commit b60e158
Showing
2 changed files
with
32 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2024 AI4CO | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,18 @@ build-backend = "poetry.core.masonry.api" | |
name = "routefinder" | ||
version = "0.1.0" | ||
description = "Towards Foundation Models for Vehicle Routing Problems" | ||
authors = ["Your Name <[email protected]>"] # replace with your actual name and email | ||
authors = [ | ||
"Federico Berto <[email protected]>", | ||
"Chuanbo Hua <[email protected]>", | ||
"Nayeli Gast Zepeda <[email protected]>", | ||
"Andre Hottung", | ||
"Leon Lan", | ||
"Niels Wouda", | ||
"Kevin Tierney", | ||
"Jinkyoo Park", | ||
] | ||
readme = "README.md" | ||
license = "MIT" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9,<3.12" | ||
|
@@ -28,36 +38,14 @@ graph = ["torch_geometric"] | |
testing = ["pytest", "pytest-cov"] | ||
solvers = ["pyvrp", "ortools"] | ||
|
||
|
||
# Ruff + Black + isort combo for code formatting | ||
# Adapted from https://github.com/AntonOsika/gpt-engineer (kudos!) | ||
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml | ||
[tool.ruff] | ||
select = ["F", "E", "W", "I001"] | ||
line-length = 90 | ||
show-fixes = false | ||
target-version = "py311" | ||
task-tags = ["TODO", "FIXME"] | ||
exclude = [ | ||
".bzr", | ||
".direnv", | ||
".eggs", | ||
".git", | ||
".ruff_cache", | ||
".svn", | ||
".tox", | ||
".venv", | ||
"__pypackages__", | ||
"_build", | ||
"buck-out", | ||
"build", | ||
"dist", | ||
"node_modules", | ||
"venv", | ||
] | ||
ignore = ["E501"] # never enforce `E501` (line length violations), done in Black | ||
|
||
# Ignore `E402` (import violations) and "F401" (unused imports) in all `__init__.py` files | ||
[tool.ruff.per-file-ignores] | ||
"__init__.py" = ["E402", "F401"] | ||
|
||
|
@@ -75,7 +63,6 @@ combine-as-imports = true | |
split-on-trailing-comma = false | ||
lines-between-types = 1 | ||
|
||
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html | ||
[tool.black] | ||
line-length = 90 | ||
target-version = ["py311"] | ||
|