forked from SciTools/cf-units
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
98 lines (93 loc) · 2.42 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
[metadata]
author = SciTools Developers
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering
description = Units of measure as required by the Climate and Forecast (CF) metadata conventions
download_url = https://github.com/SciTools/cf-units
keywords =
units
cf
netcdf
science
oceanography
meteorology
climate
license = BSD
license_files = LICENSE
long_description = file: README.md
long_description_content_type = text/markdown
name = cf-units
project_urls =
Code = https://github.com/SciTools/cf-units
Discussions = https://github.com/SciTools/cf-units/discussions
Issues = https://github.com/SciTools/cf-units/issues
url = https://github.com/SciTools/cf-units
version = attr: cf_units.__version__
[options]
include_package_data = True
install_requires =
antlr4-python3-runtime ==4.11.1 # To update this, see cf_units/_udunits2_parser/README.md
cftime >=1.2
jinja2
numpy >=1.23
# udunits2 cannot be installed with pip, and it is expected to be
# installed separately.
packages = find_namespace:
python_requires =
>=3.9
zip_safe = False
[options.extras_require]
docs =
sphinx
test =
codecov
cython
jinja2
pip
pytest
pytest-cov
all =
pre-commit
%(docs)s
%(test)s
[flake8]
# References:
# https://flake8.readthedocs.io/en/latest/user/configuration.html
# https://flake8.readthedocs.io/en/latest/user/error-codes.html
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
select = C,E,F,W,B,B950
ignore =
# E203: whitespace before ':'
E203,
# E226: missing whitespace around arithmetic operator
E226,
# E231: missing whitespace after ',', ';', or ':'
E231,
# E402: module level imports on one line
E402,
# E501: line too long
E501,
# E731: do not assign a lambda expression, use a def
E731,
# W503: line break before binary operator
W503,
# W504: line break after binary operator
W504
exclude =
.eggs,
.git,
build,
cf_units/_version.py,
doc,
etc,
cf_units/_udunits2_parser/parser/*
[aliases]
test = pytest