-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
111 lines (94 loc) · 2.44 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
[metadata]
name = convml-tt
author = Leif denby
author_email = l.c.denby@leeds.ac.uk
license = Apache
description = Neural Network based study of convective organisation
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/convml/convml_tt
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Intended Audience :: Science/Research
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering
[options]
packages = find:
zip_safe = False # https://mypy.readthedocs.io/en/latest/installed_packages.html
include_package_data = True
python_requires = >=3.7
install_requires =
xarray
netCDF4
matplotlib
pytorch-lightning >= 1.2.0,<2.0.0
kornia >= 0.5.0
scikit-learn
seaborn
parse
jupyter
scikit-image
antialiased-cnns >= 0.3
torchvision >= 0.4.0
semver
statsmodels
numpy < 2.0.0 # pytorch-lightning < 2.1.0 uses np.Inf which has been removed in v2.0.0
setup_requires =
setuptools >= 40.4
setuptools_scm
[options.extras_require]
pipeline =
luigi
sattiles =
%(pipeline)s
cartopy
satpy
esmpy
xesmf
convml-data>=0.2.0
test =
pytest
nbval
dev =
%(test)s
pre-commit
ipython
[tool:pytest]
python_files = test_*.py
testpaths = tests
[flake8]
exclude=
.eggs
doc
# allow for unused imports in __init__.py files
per-file-ignores = __init__.py:F401
extend-ignore = E203, E266, E501, E402, E501, E731, W503, C901, W604, E231
# line length is intentionally set to 80 here because black uses Bugbear
# See https://github.com/psf/black/blob/master/docs/the_black_code_style.md#line-length for more details
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
[isort]
profile = black
skip_gitignore = true
force_to_top = true
default_section = THIRDPARTY
known_first_party = convml_tt
[aliases]
test = pytest
[pytest-watch]
nobeep = True
[pylint.TYPECHECK]
# List of members which are set dynamically and missed by Pylint inference
# system, and so shouldn't trigger E1101 when accessed.
generated-members=numpy.*, torch.*
good-names=i,j,df,n_*
[build-system]
requires = ["setuptools>=40.8.0", "wheel", "setuptools_scm[toml]>=6.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]