This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
116 lines (106 loc) · 2.36 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[metadata]
name = correctionlib
author = Nick Smith
author_email = nick.smith@cern.ch
maintainer = Nick Smith
maintainer_email = nick.smith@cern.ch
description = A generic correction library
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/nsmith-/correctionlib
license = BSD 3-Clause License
# keywords =
platforms =
Any
classifiers =
Topic :: Scientific/Engineering
Intended Audience :: Science/Research
Intended Audience :: Developers
Operating System :: OS Independent
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Development Status :: 1 - Planning
[options]
python_requires = >=3.6
packages = find:
package_dir =
=src
install_requires =
numpy >=1.13.3
typing; python_version<"3.5"
typing-extensions;python_version<"3.8"
dataclasses;python_version<"3.7"
pydantic >=1.7.3
[options.packages.find]
where = src
[options.extras_require]
test =
pytest >=4.6
dev =
pytest >=4.6
pre-commit
mypy
uhi
docs =
recommonmark >=0.5.0
Sphinx >=3.0.0
sphinx_copybutton
sphinx_rtd_theme >=0.5.0
sphinx-jsonschema
convert =
pandas
uproot >=4.0.4
requests
[tool:pytest]
addopts = -rs -s -Wd
testpaths =
tests
[check-manifest]
ignore =
.github/**
docs/**
.pre-commit-config.yaml
.readthedocs.yml
src/*/version.py
data/**
Makefile
cpp-peglib/**
pybind11/**
rapidjson/**
[flake8]
ignore = E203, E231, E501, E722, W503, B902, B950
select = C,E,F,W,T,B,B9,I
per-file-ignores =
tests/*: T
[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 88
[mypy]
files = src
python_version = 3.6
warn_unused_configs = True
disallow_any_generics = True
# otherwise need pydantic dataclasses
disallow_subclassing_any = False
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
no_implicit_reexport = True
strict_equality = True
[mypy-numpy]
ignore_missing_imports = True