-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
126 lines (111 loc) · 3.52 KB
/
pyproject.toml
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "esmerald_admin"
description = "The needed admin for Saffier ORM with Esmerald"
long_description = "The needed admin for Saffier ORM with Esmerald"
readme = "README.md"
requires-python = ">=3.8"
dynamic = ['version']
license = "MIT"
authors = [{ name = "Tiago Silva", email = "[email protected]" }]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Framework :: AnyIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = ["esmerald[jwt]>=2.2.0,<3", "sqladmin>=0.15.2,<1.0"]
keywords = ["esmerald_admin"]
[project.urls]
Homepage = "https://github.com/tarsil/esmerald-admin"
Documentation = "https://esmerald-admin.tarsild.io"
Changelog = "https://esmerald-admin.tarsild.io/release-notes/"
Funding = "https://github.com/sponsors/tarsil"
Source = "https://github.com/tarsil/esmerald-admin"
[project.optional-dependencies]
test = [
"anyio>=3.6.2,<4.0.0",
"autoflake>=2.0.2,<3.0.0",
"black>=23.3.0,<24.0.0",
"isort>=5.12.0,<6.0.0",
"mypy>=1.1.0,<2.0.0",
"pytest>=7.2.2,<8.0.0",
"pytest-cov>=4.0.0,<5.0.0",
"requests>=2.28.2",
"ruff>=0.0.256,<1.0.0",
"httpx",
"saffier[postgres,testing]>=1.0.0",
"edgy[postgres,testing]>=0.5.1",
]
saffier = ["saffier>=0.16.0"]
edgy = ["edgy>=0.5.1"]
all = ["edgy>=0.5.1", "saffier>=0.16.0"]
dev = [
"ipdb>=0.13.13,<1.0.0",
"pre-commit>=3.3.1,<4.0.0",
"types-python-jose>=3.3.4.7",
]
doc = [
"mkautodoc>=0.2.0,<0.3.0",
"mkdocs>=1.4.2,<2.0.0",
"mkdocs-material==9.1.5",
"mdx-include>=1.4.1,<2.0.0",
"mkdocs-markdownextradata-plugin>=0.1.7,<0.3.0",
"mkdocstrings>=0.19.0,<0.21.0",
"pyyaml>=5.3.1,<7.0.0",
]
[tool.hatch.version]
path = "esmerald_admin/__init__.py"
[tool.isort]
profile = "black"
known_third_party = []
src_paths = ["esmerald_admin"]
[tool.mypy]
strict = true
disallow_any_generics = false
disallow_untyped_decorators = true
implicit_reexport = true
disallow_incomplete_defs = true
disable_error_code = "attr-defined"
disallow_untyped_defs = true
ignore_missing_imports = true
no_implicit_optional = true
[tool.ruff.lint]
select = ["E", "W", "F", "C", "B", "I"]
ignore = ["E501", "B008", "C901", "B026"]
[[tool.mypy.overrides]]
module = "esmerald_admin.tests.*"
ignore_missing_imports = true
check_untyped_defs = true
[[tool.mypy.overrides]]
module = "docs_src.*"
ignore_errors = true
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers"]
xfail_strict = true
junit_family = "xunit2"
[tool.hatch.build.targets.sdist]
include = ["/esmerald_admin"]