forked from Unidata/MetPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
116 lines (105 loc) · 3.56 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 = MetPy
description = Collection of tools for reading, visualizing and performing calculations with weather data.
long_description = file: README.md
long_description_content_type = text/markdown
author = Ryan May, Patrick Marsh, Sean Arms, Eric Bruning, John Leeman, Zach Bruick
author_email = [email protected]
maintainer = MetPy Developers
maintainer_email = [email protected]
license = BSD 3-Clause
license_file = LICENSE
platform = any
keywords = meteorology, weather
classifiers =
Development Status :: 5 - Production/Stable
Framework :: Matplotlib
Programming Language :: Python
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Atmospheric Science
Intended Audience :: Science/Research
Operating System :: OS Independent
License :: OSI Approved :: BSD License
url = https://github.com/Unidata/MetPy
project_urls =
Documentation = https://unidata.github.io/MetPy/
Release Notes = https://github.com/Unidata/MetPy/releases
Bug Tracker = https://github.com/Unidata/MetPy/issues
Source Code = https://github.com/Unidata/MetPy
[options]
zip_safe = True
package_dir =
= src
packages = find:
include_package_data = True
setup_requires = setuptools_scm
python_requires = >=3.7
install_requires =
importlib_metadata>=1.0.0; python_version < '3.8'
importlib_resources>=1.3.0; python_version < '3.9'
matplotlib>=3.0.1
numpy>=1.17.0
pandas>=0.24.0
pint>=0.10.1
pooch>=0.1
pyproj>=2.5.0
scipy>=1.2.0
traitlets>=4.3.0
xarray>=0.14.1
[options.packages.find]
where = src
[options.extras_require]
doc = sphinx; sphinx-gallery>=0.4; myst-parser; netCDF4
examples = cartopy>=0.15.0; matplotlib>=2.2.0
test = pytest>=2.4; pytest-mpl; cartopy>=0.17.0; netCDF4
[build_sphinx]
source-dir = docs/source
build-dir = docs/build
all-files = True
[pycodestyle]
ignore = W503
max-line-length = 95
[flake8]
max-line-length = 95
copyright-check = True
copyright-author = MetPy Developers
inline-quotes = single
multiline-quotes = double
rst-roles = class, data, doc, func, meth, mod
rst-directives = plot, versionchanged
docstring-convention = numpy
exclude = docs build src/metpy/io/_metar_parser/metar_parser.py
select = A B C D E F G H I J K L M N O P Q R S T U V W X Y Z B902
ignore = F405 W503 RST902 SIM106
per-file-ignores = examples/*.py: D MPY001 T003 T001
tutorials/*.py: D MPY001 T003 T001
src/metpy/deprecation.py: C801
src/metpy/calc/*.py: RST306
src/metpy/interpolate/*.py: RST306
src/metpy/io/*.py: RST306
src/metpy/future.py: RST307
src/metpy/constants.py: RST306
docs/doc-server.py: T001
tests/*.py: MPY001
[flake8:local-plugins]
extension = MPY = flake8_metpy:MetPyChecker
paths = ./tools/flake8-metpy
[tool:pytest]
markers = xfail_dask: marks tests as expected to fail with Dask arrays
norecursedirs = build docs .idea
doctest_optionflags = NORMALIZE_WHITESPACE
mpl-results-path = test_output
[doc8]
ignore-path = docs/build,docs/api/generated,docs/_templates,docs/tutorials,docs/examples
file-encoding = utf8
max-line-length = 95
[pydocstyle]
match = (?!(test_|setup)).*\.py
match-dir = (?!(build|docs|examples|tutorials|_nexrad_msgs))[^.].*
convention = numpy
[codespell]
skip = *.tbl,*.ipynb,AUTHORS.txt,gempak.rst,.git,./staticdata,./docs/build
exclude-file = .codespellignore