0
0
mirror of https://github.com/etesync/server.git synced 2024-09-19 20:32:16 +02:00

Upgrade dev deps and add ruff.

This commit is contained in:
Tom Hacohen 2024-06-08 17:49:40 -04:00
parent dae6f17355
commit df0d1596e2
3 changed files with 58 additions and 49 deletions

View File

@ -4,3 +4,25 @@ line-length = 120
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 120
exclude = [
".git",
".git-rewrite",
".mypy_cache",
".pytype",
".ruff_cache",
".venv",
"build",
"dist",
"node_modules",
"migrations", # Alembic migrations
]
[tool.ruff.lint]
select = ["E", "F", "I", "N", "T20", "W"]
ignore = ["E203", "E501", "E711", "E712", "N803", "N818", "T201"]
[tool.ruff.lint.isort]
combine-as-imports = true

View File

@ -1,66 +1,53 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --output-file=requirements-dev.txt requirements.in/development.txt
#
asgiref==3.5.2
# via django
black==22.10.0
# via -r requirements.in/development.txt
build==0.9.0
asgiref==3.8.1
# via
# django
# django-stubs
build==1.2.1
# via pip-tools
click==8.1.3
click==8.1.7
# via pip-tools
coverage==7.5.3
# via -r requirements.in/development.txt
django==5.0.6
# via
# black
# django-stubs
# django-stubs-ext
django-stubs==5.0.2
# via -r requirements.in/development.txt
django-stubs-ext==5.0.2
# via django-stubs
mypy==1.10.0
# via -r requirements.in/development.txt
mypy-extensions==1.0.0
# via mypy
packaging==24.0
# via build
pip-tools==7.4.1
# via -r requirements.in/development.txt
pyproject-hooks==1.1.0
# via
# build
# pip-tools
coverage==6.5.0
pywatchman==2.0.0
# via -r requirements.in/development.txt
django==3.2.16
# via
# -r requirements.in/development.txt
# django-stubs
# django-stubs-ext
django-stubs==1.13.0
ruff==0.4.8
# via -r requirements.in/development.txt
django-stubs-ext==0.7.0
# via django-stubs
mypy==0.991
# via django-stubs
mypy-extensions==0.4.3
# via
# black
# mypy
packaging==21.3
# via build
pathspec==0.10.2
# via black
pep517==0.13.0
# via build
pip-tools==6.11.0
# via -r requirements.in/development.txt
platformdirs==2.6.0
# via black
pyparsing==3.0.9
# via packaging
pytz==2022.6
sqlparse==0.5.0
# via django
pywatchman==1.4.1
# via -r requirements.in/development.txt
sqlparse==0.4.3
# via django
tomli==2.0.1
types-pyyaml==6.0.12.20240311
# via django-stubs
types-pytz==2022.6.0.1
# via django-stubs
types-pyyaml==6.0.12.2
# via django-stubs
typing-extensions==4.4.0
typing-extensions==4.12.2
# via
# django-stubs
# django-stubs-ext
# mypy
wheel==0.38.4
wheel==0.43.0
# via pip-tools
# The following packages are considered to be unsafe in a requirements file:

View File

@ -1,6 +1,6 @@
coverage
pip-tools
pywatchman
black
ruff
mypy
django-stubs
django<4.0