Skip to content

Commit

Permalink
fix: dependency on old ruff version, remove old .dockerignore entry (#80
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Fogapod authored Feb 10, 2024
1 parent c0ba926 commit 61d9ee3
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 64 deletions.
3 changes: 0 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
**/__pycache__

# it is not included, but docker-compose tries to walk into it and errors
DB
106 changes: 53 additions & 53 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ migrations
[tool.ruff]
exclude = ["migrations"]
line-length = 121

[tool.ruff.lint]
ignore = [
# doesn't like Optional
# https://github.com/charliermarsh/ruff/issues/4858
Expand Down Expand Up @@ -54,7 +56,7 @@ fixable = [
"I",
]

[tool.ruff.isort]
[tool.ruff.lint.isort]
combine-as-imports = true
lines-between-types = 1

Expand Down Expand Up @@ -99,16 +101,15 @@ django-post-office = "^3.8.0"
drf-spectacular = "^0.27.1"

[tool.poetry.group.lint.dependencies]
pre-commit = "3.6.0"
ruff = "0.1.13"
black = "24.1.1"
pre-commit = "3.*"
ruff = "0.2.*"
black = "24.*"

# typecheck is separate for CI
[tool.poetry.group.typecheck.dependencies]
# django-stubs does not support 1.8 yet
mypy = "1.7"
django-stubs = {extras = ["compatible-mypy"], version = "4.2.7"}
djangorestframework-stubs = {extras = ["compatible-mypy"], version = "3.14.5"}
mypy = "1.*"
django-stubs = {extras = ["compatible-mypy"], version = "4.*"}
djangorestframework-stubs = {extras = ["compatible-mypy"], version = "3.*"}

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 61d9ee3

Please sign in to comment.