@@ -5,70 +5,54 @@ build-backend = "setuptools.build_meta"
55[project ]
66name = " cloudnet-submit"
77authors = [
8- { name = " Niko Leskinen" , email = " niko.leskinen@fmi.fi" },
8+ {name = " Niko Leskinen" , email = " niko.leskinen@fmi.fi" },
99]
1010description = " Cloudnet data submission tool"
1111dynamic = [" version" ]
1212requires-python = " >=3.8"
1313readme = " README.md"
14- license = { file = " LICENSE" }
14+ license = {file = " LICENSE" }
1515classifiers = [
16- " Development Status :: 4 - Beta" ,
17- " Programming Language :: Python :: 3 " ,
18- " Programming Language :: Python :: 3.8 " ,
19- " Programming Language :: Python :: 3.9 " ,
20- " Programming Language :: Python :: 3.10 " ,
21- " Programming Language :: Python :: 3.11 " ,
22- " Programming Language :: Python :: 3.12 " ,
23- " License :: OSI Approved :: MIT License " ,
24- " Intended Audience :: Science/Research " ,
25- " Operating System :: OS Independent " ,
16+ " Development Status :: 4 - Beta" ,
17+ " Intended Audience :: Science/Research " ,
18+ " License :: OSI Approved :: MIT License " ,
19+ " Operating System :: OS Independent " ,
20+ " Programming Language :: Python :: 3" ,
21+ " Programming Language :: Python :: 3.10 " ,
22+ " Programming Language :: Python :: 3.11 " ,
23+ " Programming Language :: Python :: 3.12 " ,
24+ " Programming Language :: Python :: 3.8 " ,
25+ " Programming Language :: Python :: 3.9 " ,
2626]
27-
2827dependencies = [
28+ " braceexpand" ,
2929 " requests >= 2.28.1" ,
3030 " toml >= 0.10.2" ,
31- " braceexpand" ,
3231]
3332
34- [project .urls ]
35- Homepage = " https://github.com/actris-cloudnet/cloudnet-submit"
36- Repository = " https://github.com/actris-cloudnet/cloudnet-submit"
37- Changelog = " https://github.com/actris-cloudnet/cloudnet-submit/blob/main/CHANGELOG.md"
38- "Bug Tracker" = " https://github.com/actris-cloudnet/cloudnet-submit/issues"
39-
4033[project .optional-dependencies ]
4134dev = [
4235 " mypy" ,
36+ " pre-commit" ,
4337 " pytest" ,
4438 " pytest-cov" ,
45- " black" ,
46- " flake8" ,
47- " pylint" ,
48- " autoflake" ,
49- " isort" ,
50- " pre-commit" ,
5139 " types-requests" ,
40+ " types-setuptools" ,
5241 " types-toml" ,
5342]
5443# Not supported on Python <= 3.10
5544release = [
56- " release-version"
45+ " release-version" ,
5746]
47+
5848[project .scripts ]
5949cloudnet-submit = " cloudnet_submit.main:main"
6050
61- [tool .setuptools .packages .find ]
62- where = [" src" ]
63- [tool .setuptools .dynamic ]
64- version = {attr = " cloudnet_submit.version.__version__" }
65-
66-
67- [tool .pytest .ini_options ]
68- addopts = " --cov=cloudnet_submit --cov-report html"
69- testpaths = [
70- " tests" ,
71- ]
51+ [project .urls ]
52+ Homepage = " https://github.com/actris-cloudnet/cloudnet-submit"
53+ Repository = " https://github.com/actris-cloudnet/cloudnet-submit"
54+ Changelog = " https://github.com/actris-cloudnet/cloudnet-submit/blob/main/CHANGELOG.md"
55+ "Bug Tracker" = " https://github.com/actris-cloudnet/cloudnet-submit/issues"
7256
7357[tool .mypy ]
7458check_untyped_defs = true
@@ -79,29 +63,33 @@ show_error_codes = true
7963warn_return_any = true
8064warn_unused_ignores = true
8165
82- [tool .black ]
83- line-length = 88
84- target-version = [' py38' ]
85- preview = true
86-
87- [tool .isort ]
88- profile = " black"
89- line_length = 88
90-
91- [tool .pylint ]
92- ignore-patterns = " test_.*\\ .py,release"
93- ignore-paths = " ^tests/.*"
94- good-names = [" i" , " j" , " k" , " f" ,]
95- max-line-length = 88
96- disable = [
97- " missing-module-docstring" ,
98- " missing-class-docstring" ,
99- " missing-function-docstring" ,
100- " too-few-public-methods" ,
101- " too-many-arguments"
66+ [tool .pytest .ini_options ]
67+ addopts = " --cov=cloudnet_submit --cov-report html"
68+ testpaths = [
69+ " tests" ,
10270]
10371
10472[tool .release-version ]
10573filename = " src/cloudnet_submit/version.py"
10674pattern = " __version__ = \" (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)\" "
10775changelog = " CHANGELOG.md"
76+
77+ [tool .ruff .lint ]
78+ select = [" B" , " D" , " E" , " F" , " I" , " PLC" , " PLE" , " PLW" , " SIM" ]
79+ ignore = [" D1" ]
80+
81+ [tool .ruff .lint .per-file-ignores ]
82+ "__init__.py" = [" PLC0414" ]
83+
84+ [tool .ruff .lint .pydocstyle ]
85+ convention = " google"
86+
87+ [tool .setuptools .dynamic ]
88+ version = {attr = " cloudnet_submit.version.__version__" }
89+
90+ [tool .setuptools .packages .find ]
91+ where = [" src" ]
92+
93+ [tool .tomlsort ]
94+ trailing_comma_inline_array = true
95+ sort_inline_arrays = true
0 commit comments