2021-08-01 14:27:44 -07:00
|
|
|
[flake8]
|
|
|
|
# We ignore the line length issues here, since black will take care of them.
|
|
|
|
max-line-length = 150
|
|
|
|
max-complexity = 15
|
|
|
|
ignore =
|
|
|
|
# Ignore: 1 blank line required before class docstring.
|
|
|
|
D203,
|
|
|
|
W503
|
|
|
|
exclude =
|
|
|
|
.git,
|
|
|
|
__pycache__
|
|
|
|
per-file-ignores =
|
|
|
|
# imported but unused
|
|
|
|
__init__.py: F401
|
2021-08-13 01:40:56 +05:30
|
|
|
[metadata]
|
|
|
|
license_files = LICENSE
|
2021-08-01 14:27:44 -07:00
|
|
|
[mypy]
|
|
|
|
mypy_path = src
|
|
|
|
plugins =
|
|
|
|
sqlmypy,
|
|
|
|
pydantic.mypy
|
|
|
|
ignore_missing_imports = yes
|
|
|
|
namespace_packages = true
|
|
|
|
strict_optional = yes
|
|
|
|
check_untyped_defs = yes
|
|
|
|
# eventually we'd like to enable these
|
|
|
|
disallow_untyped_defs = no
|
|
|
|
disallow_incomplete_defs = no
|
|
|
|
|
|
|
|
[isort]
|
|
|
|
profile = black
|
|
|
|
indent=' '
|
|
|
|
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
|
|
|
|
|
|
|
|
[tool:pytest]
|
|
|
|
markers =
|
|
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
|
|
|
testpaths =
|
|
|
|
tests/unit
|
|
|
|
|
|
|
|
[options]
|
|
|
|
packages = find:
|
|
|
|
package_dir =
|
|
|
|
=src
|
|
|
|
|
|
|
|
[options.packages.find]
|
|
|
|
where = src
|
2022-05-25 14:40:07 +02:00
|
|
|
include = *
|
2022-09-19 17:00:00 +02:00
|
|
|
|
|
|
|
[options.package_data]
|
|
|
|
metadata.examples =
|
|
|
|
workflows/*.yaml
|