-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #598 from jodal/tooling
Update tooling
- Loading branch information
Showing
9 changed files
with
1,154 additions
and
1,882 deletions.
There are no files selected for viewing
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
This file was deleted.
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
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 |
---|---|---|
@@ -1,55 +1,60 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "comics" | ||
version = "4.2.0" | ||
description = "" | ||
authors = ["Stein Magnus Jodal <[email protected]>"] | ||
license = "AGPL-3.0-only" | ||
|
||
[tool.poetry.dependencies] | ||
Django = "^3.2" | ||
Pillow = "^10.3.0" | ||
PyYAML = { version = "^6.0.1", optional = true } | ||
biplist = { version = "^1.0.3", optional = true } | ||
cssmin = "^0.2.0" | ||
cssselect = "^1.2.0" | ||
defusedxml = "^0.7.1" | ||
django-allauth = "^0.51.0" | ||
django-bootstrap-form = "^3.4" | ||
django-compressor = "^3.1" | ||
django-environ = "^0.9.0" | ||
django-invitations = "^1.9.3" | ||
django-tastypie = "^0.14.4" | ||
feedparser = "^6.0.11" | ||
gunicorn = { version = "^22.0.0", optional = true } | ||
httpx = "^0.27.0" | ||
jsmin = "^3.0.1" | ||
lxml = "^5.2.2" | ||
psycopg2-binary = { version = "^2.9.9", optional = true } | ||
pymemcache = { version = "^4.0.0", optional = true } | ||
python = "^3.12" | ||
pytz = "^2024.1" | ||
sentry-sdk = "^2.7.1" | ||
setuptools = "^72.1.0" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
django-debug-toolbar = "^3.8.1" | ||
django-extensions = "^3.2.3" | ||
django-stubs = "^1.16.0" | ||
mypy = "^1.10.0" | ||
pytest = "^8.2.2" | ||
pytest-cov = "^5.0.0" | ||
pytest-django = "^4.8.0" | ||
pytest-mock = "^3.14.0" | ||
ruff = "^0.5.0" | ||
tox = "^4.15.1" | ||
types-pytz = "^2024.1.0.20240417" | ||
types-toml = "^0.10.8.20240310" | ||
|
||
[tool.poetry.extras] | ||
api = ["biplist", "PyYAML"] | ||
cache = ["pymemcache"] | ||
pgsql = ["psycopg2-binary"] | ||
server = ["gunicorn"] | ||
description = "Comics is a webcomics aggregator." | ||
authors = [{ name = "Stein Magnus Jodal", email = "[email protected]" }] | ||
readme = "README.md" | ||
license = { text = "AGPL-3.0-only" } | ||
classifiers = ["Private :: Do Not Upload"] | ||
requires-python = ">=3.12,<3.13" | ||
dependencies = [ | ||
"django==3.2.25", | ||
"pillow==10.3.0", | ||
"cssmin==0.2.0", | ||
"cssselect==1.2.0", | ||
"defusedxml==0.7.1", | ||
"django-allauth==0.51", | ||
"django-bootstrap-form==3.4", | ||
"django-compressor==3.1", | ||
"django-environ==0.9.0", | ||
"django-invitations==1.9.3", | ||
"django-tastypie==0.14.7", | ||
"feedparser==6.0.11", | ||
"httpx==0.27.0", | ||
"jsmin==3.0.1", | ||
"lxml==5.2.2", | ||
"pytz==2024.1", | ||
"sentry-sdk>=2.7.1", | ||
"setuptools>=72.1", | ||
] | ||
|
||
[project.optional-dependencies] | ||
api = ["biplist>=1.0.3,<2", "pyyaml>=6.0.1,<7"] | ||
cache = ["pymemcache>=4.0.0,<5"] | ||
pgsql = ["psycopg2-binary>=2.9.9,<3"] | ||
server = ["gunicorn>=22.0,<23"] | ||
|
||
[dependency-groups] | ||
dev = [ | ||
"django-debug-toolbar>=3.8.1,<4", | ||
"django-extensions>=3.2.3,<4", | ||
"django-stubs>=1.16.0,<2", | ||
"mypy>=1.10.0,<2", | ||
"pytest>=8.2.2,<9", | ||
"pytest-cov>=5.0.0,<6", | ||
"pytest-django>=4.8.0,<5", | ||
"pytest-mock>=3.14.0,<4", | ||
"ruff>=0.5.0,<1", | ||
"tox-uv>=1.16.2", | ||
"tox>=4.15.1,<5", | ||
"types-pytz>=2024.1.0.20240417,<2025", | ||
"types-toml>=0.10.8.20240310,<0.11", | ||
] | ||
|
||
|
||
[tool.django-stubs] | ||
django_settings_module = "comics.settings" | ||
|
||
|
||
[tool.pytest.ini_options] | ||
filterwarnings = [ | ||
|
@@ -60,10 +65,6 @@ filterwarnings = [ | |
DJANGO_SETTINGS_MODULE = "comics.settings" | ||
|
||
|
||
[tool.django-stubs] | ||
django_settings_module = "comics.settings" | ||
|
||
|
||
[tool.mypy] | ||
no_implicit_optional = true | ||
strict_equality = true | ||
|
@@ -127,6 +128,7 @@ ignore = [ | |
"RET504", # unnecessary-assign | ||
"RUF012", # mutable-class-default # TODO | ||
"S101", # assert | ||
"SIM115", # open-file-with-context-handler # TODO | ||
"SLF", # flake8-self # TODO | ||
"TD", # flake8-todos | ||
"TRY", # tryceratops # TODO | ||
|
@@ -140,8 +142,3 @@ ignore = [ | |
|
||
[tool.ruff.lint.isort] | ||
known-first-party = ["comics"] | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
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.