forked from DiamondLightSource/dls-pmac-control
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
63 lines (55 loc) · 1.59 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
[metadata]
name = dls_pmaccontrol
version = file: dls_pmaccontrol/VERSION
description = Delta Tau pmac control utility
author = Ulrik Kofoed Pederson
maintainer = Giles Knap
author_email = [email protected]
license = Apache License 2.0
long_description = file: README.rst
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
[options]
packages =
dls_pmaccontrol
include_package_data = True
install_requires =
dls-pmaclib >= 3.0.0
numpy
pyqt5
pythonqwt
mock
[options.package_data]
dls_pmaccontrol = VERSION
[options.entry_points]
console_scripts =
dls-pmac-control.py = dls_pmaccontrol.motor:main
[options.packages.find]
# Don't include our tests directory in the distribution
exclude = tests
[mypy]
# Ignore missing stubs for modules we use
ignore_missing_imports = True
[isort]
# https://black.readthedocs.io/en/stable/the_black_code_style.html?highlight=isort#how-black-wraps-lines
multi_line_output=3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
skip=setup.py,conf.py
known_third_party=dls_pmaclib
[flake8]
# Make flake8 respect black's line length (default 88),
max-line-length = 88
per-file-ignores = dls_pmaccontrol/ui_*: F401, E501
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
[tool:pytest]
# Run pytest with all our checkers, and don't spam us with massive tracebacks on error
addopts = --tb=native -vv --flake8 --black --mypy