-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.cfg
118 lines (108 loc) · 2.61 KB
/
setup.cfg
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
[metadata]
name = sqlservice
version = attr: sqlservice.__version__
author = Derrick Gilland
author_email = [email protected]
url = https://github.com/dgilland/sqlservice
description = The missing SQLAlchemy ORM interface
long_description = file: README.rst, CHANGELOG.rst, LICENSE.rst
keywords = sqlservice sqlalchemy orm database
license = MIT License
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: MIT License
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Database
Topic :: Database :: Front-Ends
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
[options]
package_dir =
= src
packages = find:
python_requires = >=3.7
install_requires =
SQLAlchemy>=2.0
[options.packages.find]
where = src
[options.extras_require]
dev =
aiosqlite
black
build
coverage
docformatter
flake8
flake8-black
flake8-bugbear
flake8-isort
furo
greenlet
importlib_metadata<5; python_version=="3.7"
invoke
isort
mock
mypy
pylint
pytest
pytest-asyncio
pytest-cov
sphinx
sphinx-autodoc-typehints
tox
types-mock
twine
wheel
[bdist_wheel]
python_tag = py3
[flake8]
exclude = .tox,venv,env
max_line_length = 100
max_complexity = 10
# F401 - `module` imported but unused
# F811 - redefinition of unused `name` from line `N`
# E203 - whitespace before ':'
# W503 - line break before binary operator
ignore = F401,F811,E203,W503
[mypy]
show_column_numbers = true
show_error_context = false
ignore_missing_imports = true
warn_return_any = false
strict_optional = true
warn_no_return = true
warn_redundant_casts = false
warn_unused_ignores = false
[tool:isort]
line_length = 100
multi_line_output = 3
lines_after_imports = 2
combine_as_imports = true
include_trailing_comma = true
force_sort_within_sections = true
[tool:pytest]
junit_family = xunit2
asyncio_mode = auto
filterwarnings =
ignore::pytest.PytestUnraisableExceptionWarning
addopts =
--verbose
--doctest-modules
--no-cov-on-fail
--cov-fail-under=100
--cov-report=term-missing
--cov-report=xml:build/coverage/coverage.xml
--cov-report=html:build/coverage
--junitxml=build/testresults/junit.xml
[coverage:run]
omit =
*/tests/*
*/test_*