mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 21:58:47 +00:00
ruff 0.2.0
This commit is contained in:
parent
add4f37d97
commit
4e80d295bd
|
@ -10,6 +10,7 @@ dependencies = [
|
||||||
"pillow>=10.1.0",
|
"pillow>=10.1.0",
|
||||||
"jaxtyping>=0.2.23",
|
"jaxtyping>=0.2.23",
|
||||||
"packaging>=23.2",
|
"packaging>=23.2",
|
||||||
|
"ruff>=0.2.0",
|
||||||
]
|
]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">= 3.10"
|
requires-python = ">= 3.10"
|
||||||
|
@ -86,6 +87,9 @@ line-length = 120
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
src = ["src"] # see https://docs.astral.sh/ruff/settings/#src
|
src = ["src"] # see https://docs.astral.sh/ruff/settings/#src
|
||||||
|
line-length = 120
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
select = [
|
select = [
|
||||||
"I", # isort
|
"I", # isort
|
||||||
]
|
]
|
||||||
|
@ -93,7 +97,6 @@ ignore = [
|
||||||
"F722", # forward-annotation-syntax-error, because of Jaxtyping
|
"F722", # forward-annotation-syntax-error, because of Jaxtyping
|
||||||
"E731", # do-not-assign-lambda
|
"E731", # do-not-assign-lambda
|
||||||
]
|
]
|
||||||
line-length = 120
|
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
[tool.ruff.lint.isort]
|
||||||
# Allow this kind of import on a single line:
|
# Allow this kind of import on a single line:
|
||||||
|
|
|
@ -17,12 +17,12 @@ attrs==23.2.0
|
||||||
babel==2.14.0
|
babel==2.14.0
|
||||||
bitsandbytes==0.42.0
|
bitsandbytes==0.42.0
|
||||||
black==24.1.1
|
black==24.1.1
|
||||||
certifi==2023.11.17
|
certifi==2024.2.2
|
||||||
charset-normalizer==3.3.2
|
charset-normalizer==3.3.2
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
colorama==0.4.6
|
colorama==0.4.6
|
||||||
datasets==2.16.1
|
datasets==2.16.1
|
||||||
diffusers==0.25.1
|
diffusers==0.26.1
|
||||||
dill==0.3.7
|
dill==0.3.7
|
||||||
docker-pycreds==0.4.0
|
docker-pycreds==0.4.0
|
||||||
filelock==3.13.1
|
filelock==3.13.1
|
||||||
|
@ -50,7 +50,7 @@ mkdocs-material-extensions==1.3.1
|
||||||
mkdocstrings==0.24.0
|
mkdocstrings==0.24.0
|
||||||
mkdocstrings-python==1.8.0
|
mkdocstrings-python==1.8.0
|
||||||
mpmath==1.3.0
|
mpmath==1.3.0
|
||||||
multidict==6.0.4
|
multidict==6.0.5
|
||||||
multiprocess==0.70.15
|
multiprocess==0.70.15
|
||||||
mypy-extensions==1.0.0
|
mypy-extensions==1.0.0
|
||||||
networkx==3.2.1
|
networkx==3.2.1
|
||||||
|
@ -85,12 +85,13 @@ pydantic-core==2.16.1
|
||||||
pygments==2.17.2
|
pygments==2.17.2
|
||||||
pymdown-extensions==10.7
|
pymdown-extensions==10.7
|
||||||
python-dateutil==2.8.2
|
python-dateutil==2.8.2
|
||||||
pytz==2023.4
|
pytz==2024.1
|
||||||
pywavelets==1.5.0
|
pywavelets==1.5.0
|
||||||
pyyaml==6.0.1
|
pyyaml==6.0.1
|
||||||
pyyaml-env-tag==0.1
|
pyyaml-env-tag==0.1
|
||||||
regex==2023.12.25
|
regex==2023.12.25
|
||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
|
ruff==0.2.0
|
||||||
safetensors==0.4.2
|
safetensors==0.4.2
|
||||||
scipy==1.12.0
|
scipy==1.12.0
|
||||||
segment-anything-py==1.0
|
segment-anything-py==1.0
|
||||||
|
|
Loading…
Reference in a new issue