-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #347 from ioos/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
- Loading branch information
Showing
2 changed files
with
35 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = [ | ||
|
@@ -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" | ||
|
@@ -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] | ||
|
@@ -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 |