Skip to content

Commit

Permalink
Merge pull request #347 from ioos/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
ocefpaf authored Jun 4, 2024
2 parents db168c6 + f19575d commit 35d2923
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
args: [--config=pyproject.toml]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
exclude: >
Expand All @@ -50,7 +50,7 @@ repos:
- id: add-trailing-comma

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3
rev: v0.4.7
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -73,7 +73,7 @@ repos:
- id: nb-strip-paths

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.8.0
rev: 2.1.3
hooks:
- id: pyproject-fmt

Expand Down
58 changes: 32 additions & 26 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=42",
"setuptools_scm",
"setuptools-scm",
"wheel",
]

[project]
name = "erddapy"
description = "Python interface for ERDDAP"
readme = "README.md"
license = {file = "LICENSE.txt"}
license = { file = "LICENSE.txt" }
maintainers = [
{name = "Alex Kerney", email = "[email protected]"},
{name = "Callum Rollo", email = "[email protected]"},
{name = "Filipe Fernandes", email = "[email protected]"},
{ name = "Alex Kerney", email = "[email protected]" },
{ name = "Callum Rollo", email = "[email protected]" },
{ name = "Filipe Fernandes", email = "[email protected]" },
]
requires-python = ">=3.10"
classifiers = [
Expand All @@ -27,17 +27,20 @@ dynamic = [
"dependencies",
"version",
]
[project.urls]
documentation = "https://ioos.github.io/erddapy"
homepage = "https://github.com/ioos/erddapy"
repository = "https://github.com/ioos/erddapy"
urls.documentation = "https://ioos.github.io/erddapy"
urls.homepage = "https://github.com/ioos/erddapy"
urls.repository = "https://github.com/ioos/erddapy"

[tool.setuptools]
packages = ["erddapy"]
packages = [
"erddapy",
]
include-package-data = true

[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
dependencies = { file = [
"requirements.txt",
] }

[tool.setuptools_scm]
write_to = "erddapy/_version.py"
Expand All @@ -46,26 +49,26 @@ tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"

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

[tool.pytest.ini_options]
markers = [
"web: marks tests require connection (deselect with '-m \"not web\"')",
"serial: marks tests that cannot be run in parallel (deselect with '-m \"not serial\"')",
"web: marks tests require connection (deselect with '-m \"not web\"')",
"serial: marks tests that cannot be run in parallel (deselect with '-m \"not serial\"')",
]
filterwarnings = [
"error:::erddapy.*",
"ignore::UserWarning",
"ignore::RuntimeWarning",
"error:::erddapy.*",
"ignore::UserWarning",
"ignore::RuntimeWarning",
]

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

0 comments on commit 35d2923

Please sign in to comment.