-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (83 loc) · 2.48 KB
/
pyproject.toml
File metadata and controls
100 lines (83 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[tool.poetry]
name = "aiohttp_admin2"
version = "0.0.1"
description = "Generator an admin interface based on aiohttp."
authors = ["Mykhailo Havelia <[email protected]>"]
maintainers = ["Mykhailo Havelia <[email protected]>"]
license = "MIT"
readme = 'README_BUILD.rst'
homepage = "https://github.com/arfey/aiohttp_admin2"
repository = "https://github.com/arfey/aiohttp_admin2"
documentation = "https://aiohttp-admin2.readthedocs.io"
keywords = ["aiohttp_admin2", "admin interface", "aiohttp"]
packages = [
{ include = "aiohttp_admin2" },
{ include = "aiohttp_admin2/**/*" },
]
exclude = ["tests/**/*"]
[tool.poetry.dependencies]
python = "^3.12.0"
aiohttp = "^3.6.3"
aiohttp-jinja2 = "^1.4.2"
aiomysql = {version = "0.2.0", optional = true}
aiopg = {version = "1.5.0a1", extras = ["sa"]}
python-dateutil = "^2.9.0"
sqlalchemy = "^2.0.42"
umongo = {version = "^3.1.0", extras = ["motor"], optional = true}
[tool.poetry.group.dev.dependencies]
aiofiles = "24.1.0"
aiohttp-devtools = "1.1.2"
aiohttp-jinja2 = "1.6"
aiohttp-security = "0.5.0"
aiohttp-session = "2.12.1"
cryptography = "45.0.2"
[tool.poetry.group.test.dependencies]
pytest = "8.3.5"
pytest-aiohttp = "1.1.0"
pytest-asyncio = "0.26.0"
pytest-docker = "3.2.1"
twine = "6.1.0"
[tool.poetry.extras]
motor = ["umongo"]
mysql = ["aiomysql"]
[tool.poetry-dynamic-versioning]
enable = true
[tool.pytest.ini_options]
asyncio_mode="auto"
addopts = "-s"
asyncio_default_fixture_loop_scope = "session"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
[tool.isort]
line_length = 80
multi_line_output = 3
include_trailing_comma = true
use_parentheses = true
ensure_newline_before_comments = true
force_grid_wrap = 2
extend_skip_glob = [".git", "env/*", ".venv/*", ".mypy_cache/*", "example_projects/*", "tests/*"]
[tool.flake8]
max-line-length = 80
max-complexity = 12
exclude = [".git", "env/*", ".venv/*", ".mypy_cache/*", "example_projects/*", "tests/*"]
extend-ignore = ["P101"]
[tool.bandit]
exclude_dirs = ["env", ".venv", ".cache", "tests/", ".mypy_cache", "example_projects"]
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_defs = true
follow_imports = "silent"
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = "tests/*"
ignore_errors = true
[[tool.mypy.overrides]]
module = "example_projects/*"
ignore_errors = true