forked from scikit-hep/cabinetry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
80 lines (72 loc) · 2.22 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
[metadata]
name = cabinetry
version = 0.5.1
author = Alexander Held
description = design and steer profile likelihood fits
long_description = file: README.md
long_description_content_type = text/markdown
license = BSD 3-Clause
license_files = LICENSE
url = https://github.com/scikit-hep/cabinetry
classifiers =
Development Status :: 3 - Alpha
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
License :: OSI Approved :: BSD License
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Physics
[options]
packages = find:
package_dir = =src
python_requires = >=3.7
install_requires =
pyhf[minuit]~=0.7.0 # model.config.suggested_fixed / .par_names API changes, set_poi(None)
boost_histogram>=1.0.0 # subclassing with family, 1.02 for stdev scaling fix (currently not needed)
awkward>=1.8 # _v2 API in submodule
tabulate>=0.8.1 # multiline text
matplotlib>=3.5.0 # layout kwarg for subplots
typing_extensions;python_version<"3.8" # for Literal type
# below are direct dependencies of cabinetry, which are also included via pyhf[iminuit]
numpy
pyyaml
iminuit
jsonschema
click
scipy
packaging # for version parsing
[options.packages.find]
where = src
[options.package_data]
cabinetry =
py.typed
schemas/config.json
[options.entry_points]
console_scripts =
cabinetry = cabinetry.cli:cabinetry
[tool:pytest]
addopts = --cov=cabinetry --cov-report html --cov-report term-missing --cov-branch -rsx --typeguard-packages=cabinetry
filterwarnings =
ignore:no type annotations present:UserWarning:typeguard:
ignore:no code associated:UserWarning:typeguard:
[flake8]
max-complexity = 18
max-line-length = 88
exclude = docs/conf.py
count = True
statistics = True
import-order-style = google
application-import-names = cabinetry, utils
# ignore whitespace before ':'
extend-ignore = E203
# ignore print statements in example
per-file-ignores =
example.py: T
[pytype]
inputs = src/cabinetry
[pydocstyle]
# configuration duplicated in pre-commit config
match = (?!setup|example).*\.py
match_dir = ^(?!(tests|utils|docs)).*
convention = google