22build-backend = " setuptools.build_meta"
33requires = [
44 " setuptools>=41.2" ,
5- " setuptools_scm " ,
5+ " setuptools-scm " ,
66 " wheel" ,
77]
88
99[project ]
1010name = " ctd"
1111description = " Tools to load hydrographic data into pandas DataFrame"
12- license = {text = " BSD-3-Clause" }
12+ license = { text = " BSD-3-Clause" }
1313authors = [
14- { name = " Filipe Fernandes" , email = " ocefpaf+ctd@gmail.com" },
14+ { name = " Filipe Fernandes" , email = " ocefpaf+ctd@gmail.com" },
1515]
1616requires-python = " >=3.9"
1717classifiers = [
@@ -26,55 +26,59 @@ dynamic = [
2626 " readme" ,
2727 " version" ,
2828]
29- [project .urls ]
30- documentation = " https://pyoceans.github.io/python-ctd"
31- homepage = " https://github.com/pyoceans/python-ctd"
32- repository = " https://github.com/pyoceans/python-ctd"
29+ urls.documentation = " https://pyoceans.github.io/python-ctd"
30+ urls.homepage = " https://github.com/pyoceans/python-ctd"
31+ urls.repository = " https://github.com/pyoceans/python-ctd"
3332
3433[tool .setuptools ]
35- packages = [" ctd" ]
34+ packages = [
35+ " ctd" ,
36+ ]
3637include-package-data = true
37- license-files = [" LICENSE.txt" ]
38+ license-files = [
39+ " LICENSE.txt" ,
40+ ]
3841
3942[tool .setuptools .dynamic ]
40- dependencies = {file = [" requirements.txt" ]}
41- readme = {file = " README.md" , content-type = " text/markdown" }
43+ dependencies = { file = [
44+ " requirements.txt" ,
45+ ] }
46+ readme = { file = " README.md" , content-type = " text/markdown" }
4247
4348[tool .setuptools_scm ]
4449write_to = " ctd/_version.py"
4550write_to_template = " __version__ = '{version}'"
4651tag_regex = " ^(?P<prefix>v)?(?P<version>[^\\ +]+)(?P<suffix>.*)?$"
4752
4853[tool .ruff ]
49- lint.select = [
50- " A" , # flake8-builtins
51- " B" , # flake8-bugbear
52- " C4" , # flake8-comprehensions
53- " F" , # flakes
54- " I" , # import sorting
55- " T20" , # flake8-print
56- " UP" , # upgrade
57- ]
5854target-version = " py39"
5955line-length = 80
6056
57+ lint.select = [
58+ " A" , # flake8-builtins
59+ " B" , # flake8-bugbear
60+ " C4" , # flake8-comprehensions
61+ " F" , # flakes
62+ " I" , # import sorting
63+ " T20" , # flake8-print
64+ " UP" , # upgrade
65+ ]
6166# [lint.per-file-ignores]
62- [tool .ruff .per-file-ignores ]
63- "docs/source/conf.py" = [
64- " E402" , # Module level import not at top of file
65- " A001" , # builtin-variable-shadowing
67+ per-file-ignores."docs/source/conf.py" = [
68+ " E402" , # Module level import not at top of file
69+ " A001" , # builtin-variable-shadowing
6670]
6771
6872[tool .check-manifest ]
6973ignore = [
70- " *.yml" ,
71- " .coveragerc" ,
72- " docs" ,
73- " docs/*" ,
74- " notebooks" ,
75- " notebooks/*" ,
76- " tests" ,
77- " tests/*" ,
74+ " *.yml" ,
75+ " .coveragerc" ,
76+ " docs" ,
77+ " docs/*" ,
78+ " notebooks" ,
79+ " notebooks/*" ,
80+ " tests" ,
81+ " tests/*" ,
7882]
7983
8084[tool .interrogate ]
@@ -85,7 +89,10 @@ ignore-semiprivate = false
8589ignore-private = false
8690ignore-module = false
8791fail-under = 95
88- exclude = [" docs" , " tests" ]
92+ exclude = [
93+ " docs" ,
94+ " tests" ,
95+ ]
8996verbose = 1
9097quiet = false
9198color = true
0 commit comments