forked from scikit-hep/mplhep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
60 lines (55 loc) · 1.91 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
[metadata]
name = mplhep
version = file: src/mplhep/.VERSION
long_description = file: README.md
long_description_content_type = text/markdown
author = andrzejnovak
author_email = "[email protected]"
license = MIT License
description = Matplotlib styles for HEP
url = "https://github.com/andrzejnovak/mplhep/"
classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Scientific/Engineering :: Physics
[options]
zip_safe = False
python_requires = >=3.5
package_dir =
=src
packages = find:
include_package_data = True
install_requires =
matplotlib>=3.1
numpy>=1.16.0
scipy>=1.1.0
requests~=2.21
packaging
[options.packages.find]
where = src
# Additional configuration is in matplotlib/testing/conftest.py.
[tool:pytest]
minversion = 3.6
testpaths = tests
python_files = test*.py
[flake8]
# E124: closing bracket does not match visual indentation
# E126: continuation line over-indented for hanging indent
# F401: some imports are used by code which is dynamically loaded <- check again later
# F403: ‘from module import *’ used; unable to detect undefined names
# F405: name may be undefined, or defined from star imports: module
# Ignoring the next one for valid tests
# F811: redefinition of unused name from line N
# This one is bad. Sometimes ordering matters, conditional imports
# setting env vars necessary etc.
# E402: module level import not at top of file
# E129: Visual indent to not match indent as next line, counter eg here:
# https://github.com/PyCQA/pycodestyle/issues/386
# W504: Raised by flake8 even when it is followed
max-line-length = 88
select = B,C,E,F,W,T4,B9
ignore = E203, E266, E501, W503, F403, F401, B950