@@ -5,8 +5,78 @@ requires = [
5
5
" toml" ,
6
6
" setuptools_scm>=4.1.2"
7
7
]
8
-
9
8
build-backend = " setuptools.build_meta"
10
9
11
10
[tool .setuptools_scm ]
12
11
write_to = " src/boost_histogram/version.py"
12
+
13
+ [tool .pytest .ini_options ]
14
+ junit_family = " xunit2"
15
+ addopts = " --benchmark-disable -Wd --strict-markers"
16
+ xfail_strict = true
17
+ testpaths = [" tests" ]
18
+ required_plugins = [" pytest-benchmark" ]
19
+ log_cli_level = " DEBUG"
20
+
21
+ [tool .isort ]
22
+ profile = " black"
23
+ multi_line_output = 3
24
+
25
+ [tool .mypy ]
26
+ warn_unused_configs = true
27
+ python_version = " 3.6"
28
+ files = " src"
29
+ disallow_any_generics = true
30
+ disallow_subclassing_any = true
31
+ disallow_untyped_calls = true
32
+ disallow_untyped_defs = true
33
+ disallow_incomplete_defs = true
34
+ check_untyped_defs = true
35
+ disallow_untyped_decorators = true
36
+ no_implicit_optional = true
37
+ warn_redundant_casts = true
38
+ warn_unused_ignores = true
39
+ warn_return_any = true
40
+ no_implicit_reexport = true
41
+ strict_equality = true
42
+
43
+ [tool .check-manifest ]
44
+ ignore = [
45
+ " .all-contributorsrc" ,
46
+ " .clang-format" ,
47
+ " .cmake-format.yaml" ,
48
+ " .pre-commit-config.yaml" ,
49
+ " .pre-commit-nodocker.yaml" ,
50
+ " .readthedocs.yml" ,
51
+ " .clang-tidy" ,
52
+ " examples/**" ,
53
+ " notebooks/**" ,
54
+ " docs/**" ,
55
+ " scripts/**" ,
56
+ " dev-requirements.txt" ,
57
+ " extern/**/*.py" ,
58
+ " extern/**/*.md" ,
59
+ " extern/**/*.rst" ,
60
+ " extern/**/*.toml" ,
61
+ " extern/*/checks/**" ,
62
+ " extern/*/test/**" ,
63
+ " extern/*/benchmark/**" ,
64
+ " extern/*/doc/**" ,
65
+ " extern/*/examples/**" ,
66
+ " extern/*/tools/**" ,
67
+ " extern/pybind11/docs/**" ,
68
+ " extern/pybind11/tests/**" ,
69
+ " CMakeLists.txt" ,
70
+ " extern/*/README.md" ,
71
+ " CONTRIBUTING.md" ,
72
+ " Jamfile" ,
73
+ " configure" ,
74
+ " *.clang_complete" ,
75
+ " *.html" ,
76
+ " *.in" ,
77
+ " *.json" ,
78
+ " *.yml" ,
79
+ " src/boost_histogram/_core.*" ,
80
+ " src/boost_histogram/version.py" ,
81
+ " tests/.pytest_cache/**" ,
82
+ ]
0 commit comments