2022-03-27 14:44:54 +02:00
|
|
|
[tool.black]
|
|
|
|
line-length = 79
|
2022-11-15 22:04:13 +01:00
|
|
|
|
|
|
|
[tool.poetry]
|
|
|
|
name = "network_inventory"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = ""
|
|
|
|
authors = ["Andreas Zweili <andreas@zweili.ch>"]
|
|
|
|
license = "GPLv3"
|
2022-11-27 21:19:44 +01:00
|
|
|
packages = [
|
|
|
|
{ include = "src" },
|
|
|
|
]
|
2022-11-15 22:04:13 +01:00
|
|
|
|
2023-07-02 13:11:04 +02:00
|
|
|
[tool.mypy]
|
|
|
|
exclude = [
|
|
|
|
"tests/",
|
|
|
|
]
|
2023-07-02 13:42:54 +02:00
|
|
|
plugins = ["mypy_django_plugin.main"]
|
|
|
|
|
|
|
|
[tool.django-stubs]
|
|
|
|
django_settings_module = "network_inventory.settings.local"
|
|
|
|
|
2023-07-02 13:11:04 +02:00
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
module = [
|
|
|
|
"nested_admin.*",
|
|
|
|
"django_tables2.*",
|
|
|
|
"floppyforms.*",
|
|
|
|
"django_filters.*",
|
|
|
|
"crispy_forms.*",
|
|
|
|
"mixer.*",
|
|
|
|
"guardian.*",
|
|
|
|
]
|
|
|
|
ignore_missing_imports = true
|
|
|
|
|
2022-12-12 16:16:53 +01:00
|
|
|
[tool.poetry.group.main.dependencies]
|
2022-11-15 22:04:13 +01:00
|
|
|
python = "^3.9"
|
|
|
|
Django = "^4.1.3"
|
|
|
|
django-crispy-forms = "^1.14.0"
|
|
|
|
django-filter = "^22.1"
|
|
|
|
django-floppyforms = "^1.9.0"
|
|
|
|
django-guardian = "^2.4.0"
|
|
|
|
django-htmx = "^1.13.0"
|
|
|
|
django-model-utils = "^4.2.0"
|
|
|
|
django-nested-admin = "^4.0.2"
|
|
|
|
django-tables2 = "^2.4.1"
|
2022-12-12 20:37:51 +01:00
|
|
|
gunicorn = "^20.1.0"
|
2022-11-15 22:04:13 +01:00
|
|
|
psycopg2-binary = "^2.9.5"
|
2022-11-16 21:34:37 +01:00
|
|
|
PyYAML = "^6.0"
|
2022-11-15 22:04:13 +01:00
|
|
|
|
2022-12-12 16:16:53 +01:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2022-11-22 12:31:45 +01:00
|
|
|
autopep8 = "^2.0.0"
|
|
|
|
black = "^22.10.0"
|
2022-11-15 22:04:13 +01:00
|
|
|
coverage = "^6.5.0"
|
2022-12-01 00:11:20 +01:00
|
|
|
flake8 = "^6.0.0"
|
2022-11-22 12:31:45 +01:00
|
|
|
jedi = "^0.18.2"
|
2022-11-15 22:04:13 +01:00
|
|
|
mixer = "^7.2.2"
|
|
|
|
pep8 = "^1.7.1"
|
2022-12-06 21:49:03 +01:00
|
|
|
pylint = "^2.15.8"
|
2022-11-15 22:04:13 +01:00
|
|
|
pytest = "^7.2.0"
|
|
|
|
pytest-cov = "^4.0.0"
|
|
|
|
pytest-django = "^4.5.2"
|
2022-12-06 21:42:23 +01:00
|
|
|
pytest-xdist = "^3.1.0"
|
2022-12-06 21:33:43 +01:00
|
|
|
rope = "^1.5.1"
|
2022-11-15 22:04:13 +01:00
|
|
|
yapf = "^0.32.0"
|
2023-06-25 15:06:40 +02:00
|
|
|
python-lsp-server = "^1.7.3"
|
2023-07-02 13:11:04 +02:00
|
|
|
mypy = "^1.4.1"
|
|
|
|
django-stubs = "^4.2.3"
|
2022-11-15 22:04:13 +01:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|