-
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.
- Loading branch information
Showing
16 changed files
with
274 additions
and
270 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,21 +4,19 @@ version = "2.4.2" | |
description = "A toolkit facilitating machine-learning experimentation." | ||
authors = ["PAL <[email protected]>"] | ||
license = "Apache License 2.0" | ||
packages = [ | ||
{ include = "ranzen" }, | ||
] | ||
include=["ranzen/py.typed"] | ||
classifiers=[ | ||
packages = [{ include = "ranzen" }] | ||
include = ["ranzen/py.typed"] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Typing :: Typed", | ||
] | ||
keywords=["typing", "python"] | ||
repository="https://github.com/wearepal/ranzen" | ||
readme="README.md" | ||
keywords = ["typing", "python"] | ||
repository = "https://github.com/wearepal/ranzen" | ||
readme = "README.md" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.10,<3.13" | ||
|
@@ -27,7 +25,7 @@ numpy = "^1.23.2" | |
|
||
# wandb dependencies | ||
pandas = { version = "^1.5.0", optional = true } | ||
wandb = { version= ">=0.15", optional = true } | ||
wandb = { version = ">=0.15", optional = true } | ||
|
||
# logging dependencies | ||
loguru = { version = "^0.6.0", optional = true } | ||
|
@@ -44,7 +42,7 @@ hydra = ["attrs", "hydra-core", "neoconfigen"] | |
all = ["attrs", "hydra-core", "loguru", "neoconfigen", "pandas", "wandb"] | ||
|
||
[tool.poetry.group.lint.dependencies] | ||
ruff = ">=0.2" | ||
ruff = ">=0.2.2" | ||
|
||
[tool.poetry.group.docs] | ||
optional = true | ||
|
@@ -97,29 +95,30 @@ line-length = 100 | |
target-version = "py310" | ||
|
||
[tool.ruff.format] | ||
quote-style = "preserve" | ||
exclude = [".undodir/*"] | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
"E", # pycodestyle | ||
"F", # pyflakes | ||
"FBT", # boolean trap | ||
"I", # isort | ||
# "N", # naming | ||
"PLC", # pylint convention | ||
"PLE", # pylint error | ||
# "PLR", # pylint refactor | ||
"PLW", # pylint warning | ||
"PTH", # use-pathlib | ||
# "UP", # pyupgrade | ||
"UP035", # newer imports | ||
"W", | ||
"E", # pycodestyle | ||
"F", # pyflakes | ||
"FBT", # boolean trap | ||
"I", # isort | ||
# "N", # naming | ||
"PLC", # pylint convention | ||
"PLE", # pylint error | ||
# "PLR", # pylint refactor | ||
"PLW", # pylint warning | ||
"PTH", # use-pathlib | ||
# "UP", # pyupgrade | ||
"UP035", # newer imports | ||
"W", | ||
] | ||
ignore = [ | ||
"E501", # line length | ||
"F541", # f-string without placeholder | ||
"PLW2901", # overwriting loop variable | ||
"PLC0105", # covariant typevars have to end in "_co" | ||
"E501", # line length | ||
"F541", # f-string without placeholder | ||
"PLW2901", # overwriting loop variable | ||
"PLC0105", # covariant typevars have to end in "_co" | ||
] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
|
@@ -148,10 +147,7 @@ extra-standard-library = ["typing_extensions"] | |
no-lines-before = ["future", "standard-library"] | ||
force-sort-within-sections = true | ||
split-on-trailing-comma = false | ||
classes = [ | ||
"SAM", | ||
"LAMB", | ||
] | ||
classes = ["SAM", "LAMB"] | ||
|
||
[tool.pydoclint] | ||
style = "sphinx" | ||
|
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
Oops, something went wrong.