Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 3, 2024
1 parent ff69db9 commit 3a44199
Showing 1 changed file with 40 additions and 33 deletions.
73 changes: 40 additions & 33 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=41.2",
"setuptools_scm",
"setuptools-scm",
"wheel",
]

[project]
name = "ctd"
description = "Tools to load hydrographic data into pandas DataFrame"
license = {text = "BSD-3-Clause"}
license = { text = "BSD-3-Clause" }
authors = [
{name = "Filipe Fernandes", email = "[email protected]"},
{ name = "Filipe Fernandes", email = "[email protected]" },
]
requires-python = ">=3.9"
classifiers = [
Expand All @@ -26,55 +26,59 @@ dynamic = [
"readme",
"version",
]
[project.urls]
documentation = "https://pyoceans.github.io/python-ctd"
homepage = "https://github.com/pyoceans/python-ctd"
repository = "https://github.com/pyoceans/python-ctd"
urls.documentation = "https://pyoceans.github.io/python-ctd"
urls.homepage = "https://github.com/pyoceans/python-ctd"
urls.repository = "https://github.com/pyoceans/python-ctd"

[tool.setuptools]
packages = ["ctd"]
packages = [
"ctd",
]
include-package-data = true
license-files = ["LICENSE.txt"]
license-files = [
"LICENSE.txt",
]

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
readme = {file = "README.md", content-type = "text/markdown"}
dependencies = { file = [
"requirements.txt",
] }
readme = { file = "README.md", content-type = "text/markdown" }

[tool.setuptools_scm]
write_to = "ctd/_version.py"
write_to_template = "__version__ = '{version}'"
tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"

[tool.ruff]
lint.select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"F", # flakes
"I", # import sorting
"T20", # flake8-print
"UP", # upgrade
]
target-version = "py39"
line-length = 80

lint.select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"F", # flakes
"I", # import sorting
"T20", # flake8-print
"UP", # upgrade
]
# [lint.per-file-ignores]
[tool.ruff.per-file-ignores]
"docs/source/conf.py" = [
"E402", # Module level import not at top of file
"A001", # builtin-variable-shadowing
per-file-ignores."docs/source/conf.py" = [
"E402", # Module level import not at top of file
"A001", # builtin-variable-shadowing
]

[tool.check-manifest]
ignore = [
"*.yml",
".coveragerc",
"docs",
"docs/*",
"notebooks",
"notebooks/*",
"tests",
"tests/*",
"*.yml",
".coveragerc",
"docs",
"docs/*",
"notebooks",
"notebooks/*",
"tests",
"tests/*",
]

[tool.interrogate]
Expand All @@ -85,7 +89,10 @@ ignore-semiprivate = false
ignore-private = false
ignore-module = false
fail-under = 95
exclude = ["docs", "tests"]
exclude = [
"docs",
"tests",
]
verbose = 1
quiet = false
color = true

0 comments on commit 3a44199

Please sign in to comment.