Skip to content

Commit c5a79c7

Browse files
authored
Move more settings into pyproject.toml (#1284)
1 parent 967ce91 commit c5a79c7

File tree

5 files changed

+13
-19
lines changed

5 files changed

+13
-19
lines changed

.codespellignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.coveragerc

Lines changed: 0 additions & 13 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ repos:
3737
- id: codespell
3838
name: codespell
3939
entry: codespell
40-
args: [--ignore-words=.codespellignore]
4140
language: system
4241
stages: [commit]
4342
types_or: [jupyter, markdown, python, shell]

doc8.ini

Lines changed: 0 additions & 4 deletions
This file was deleted.

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,19 @@ strict = true
8989
module = ["jinja2"]
9090
ignore_missing_imports = true
9191

92+
[tool.coverage.run]
93+
branch = true
94+
source = ["pystac"]
95+
omit = ["pystac/extensions/label.py"]
96+
97+
[tool.coverage.report]
98+
fail_under = 90
99+
exclude_lines = ["if TYPE_CHECKING:"]
100+
101+
[tool.doc8]
102+
ignore-path = ["docs/_build", "docs/tutorials"]
103+
max-line-length = 88
104+
92105
[tool.ruff]
93106
line-length = 88
94107
select = ["E", "F", "I"]

0 commit comments

Comments
 (0)