-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ruff, remove pyflakes and isort, and move black to the project root
I could not move mypy to the project root (python/mypy#4008).
- Loading branch information
kshramt
committed
Jul 15, 2023
1 parent
ee389ec
commit 61c9fe0
Showing
7 changed files
with
572 additions
and
1,219 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,2 @@ | ||
[virtualenvs] | ||
in-project = true |
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,36 @@ | ||
[tool.poetry.dependencies] | ||
python = ">=3.9.5,<3.12" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
black = "^23.7.0" | ||
ruff = "^0.0.278" | ||
|
||
[tool.poetry] | ||
name = "evidence_based_scheduling" | ||
version = "1.0.0" | ||
description = "" | ||
authors = ["Your Name <you@example.com>"] | ||
exclude = ["./**/conftext.py", "./**/*_test.py"] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
|
||
[tool.ruff] | ||
exclude = [ | ||
"**/gen/" | ||
] | ||
ignore = [ | ||
"E501", | ||
] | ||
select = [ | ||
# "D", | ||
"E", | ||
"F", | ||
"I001", | ||
"W", | ||
] | ||
|
||
# [tool.ruff.pydocstyle] | ||
# convention = "google" |
Oops, something went wrong.