2018-07-23 17:10:13 +00:00
|
|
|
[build-system]
|
|
|
|
|
requires = [
|
2019-02-28 01:22:18 +00:00
|
|
|
# The minimum setuptools version is specific to the PEP 517 backend,
|
|
|
|
|
# and may be stricter than the version required in `setup.py`
|
|
|
|
|
"setuptools>=40.6.0",
|
2018-07-23 17:10:13 +00:00
|
|
|
"wheel",
|
2019-02-28 01:22:18 +00:00
|
|
|
# Must be kept in sync with the `setup_requirements` in `setup.py`
|
2020-12-01 19:01:43 +00:00
|
|
|
"cffi>=1.12; platform_python_implementation != 'PyPy'",
|
2020-12-22 19:33:47 +00:00
|
|
|
"setuptools-rust>=0.11.4",
|
2018-07-23 17:10:13 +00:00
|
|
|
]
|
2019-02-28 01:22:18 +00:00
|
|
|
build-backend = "setuptools.build_meta"
|
2020-07-20 18:06:29 +00:00
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
|
line-length = 79
|
2020-12-09 05:40:21 +00:00
|
|
|
target-version = ["py36"]
|
2020-12-15 14:42:34 +00:00
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
addopts = "-r s"
|
|
|
|
|
markers = [
|
|
|
|
|
"skip_fips: this test is not executed in FIPS mode",
|
|
|
|
|
"supported: parametrized test requiring only_if and skip_message",
|
|
|
|
|
]
|
2021-06-19 17:39:00 +00:00
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
|
show_error_codes = true
|
|
|
|
|
check_untyped_defs = true
|
|
|
|
|
|
|
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
|
module = [
|
2021-06-19 23:00:16 +00:00
|
|
|
"cryptography.hazmat.bindings._openssl",
|
|
|
|
|
"iso8601",
|
|
|
|
|
"pretend"
|
2021-06-19 17:39:00 +00:00
|
|
|
]
|
|
|
|
|
ignore_missing_imports = true
|