black-line-length = 79
[tool.slotscheck]
-exclude-modules = '^sqlalchemy\.testing'
+exclude-modules = '''
+^sqlalchemy\.(
+ testing
+ |ext\.mypy # see slotscheck/issues/178
+)
+'''
+
# disable isort, for IDEs that just default isort to be turned on, e.g. vscode.
# we use flake8-import-order for import sorting, using zimports to actually
pydocstyle
pygments
black==23.3.0
- # slotscheck>=0.17.0
+ slotscheck>=0.17.0
- # this is to satisfy the mypy plugin dependency
- # when slotscheck imports sqlalchemy.mypy modules
- sqlalchemy[mypy]
# required by generate_tuple_map_overloads
zimports
allowlist_externals =
flake8 ./lib/ ./test/ ./examples/ setup.py doc/build/conf.py {posargs}
black --check ./lib/ ./test/ ./examples/ setup.py doc/build/conf.py
# test with cython and without cython exts running
- # slotscheck -m sqlalchemy
- # env DISABLE_SQLALCHEMY_CEXT_RUNTIME=1 slotscheck -m sqlalchemy
+ slotscheck -m sqlalchemy
+ env DISABLE_SQLALCHEMY_CEXT_RUNTIME=1 slotscheck -m sqlalchemy
python ./tools/format_docs_code.py --check
python ./tools/generate_tuple_map_overloads.py --check
python ./tools/generate_proxy_methods.py --check