Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add repo revew to tephi #164

Merged
merged 7 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ repos:
- id: flake8
types: [file, python]
args: [--config=./.flake8]

- repo: https://github.com/scientific-python/cookie
rev: 2024.08.19
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
args: ["--show=errskip"]
46 changes: 46 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,49 @@ requires = [
# Defined by PEP 517
build-backend = "setuptools.build_meta"

[tool.repo-review]
# These are a list of the currently failing tests:
ignore = [
# https://learn.scientific-python.org/development/guides/packaging-simple/#PY005
"PY005", # Has tests folder

# https://learn.scientific-python.org/development/guides/packaging-classic/#PP003
"PP003", # Does not list wheel as a build-dep
# https://learn.scientific-python.org/development/guides/pytest/#PP301
"PP301", # Has pytest in project
# https://learn.scientific-python.org/development/guides/pytest/#PP304
"PP304", # Sets the log level in pytest
# https://learn.scientific-python.org/development/guides/pytest/#PP305
"PP305", # Specifies xfail_strict
# https://learn.scientific-python.org/development/guides/pytest/#PP306
"PP306", # Specifies strict config
# https://learn.scientific-python.org/development/guides/pytest/#PP307
"PP307", # Specifies strict markers
# https://learn.scientific-python.org/development/guides/pytest/#PP309
"PP309", # Filter warnings specified

# https://learn.scientific-python.org/development/guides/gha-basic/#GH212
"GH212", # Require GHA update grouping

# https://learn.scientific-python.org/development/guides/style/#PC110
"PC110", # Uses black or ruff-format
# https://learn.scientific-python.org/development/guides/style/#PC140
"PC140", # Uses a type checker
# https://learn.scientific-python.org/development/guides/style/#PC160
"PC160", # Uses a spell checker
# https://learn.scientific-python.org/development/guides/style/#PC170
"PC170", # Uses PyGrep hooks (only needed if rST present)
# https://learn.scientific-python.org/development/guides/style/#PC180
"PC180", # Uses a markdown formatter
# https://learn.scientific-python.org/development/guides/style/#PC190
"PC190", # Uses Ruff
# https://learn.scientific-python.org/development/guides/style/#PC901
"PC901", # Custom pre-commit CI message

# https://learn.scientific-python.org/development/guides/style/#MY100
"MY100", # Uses MyPy (pyproject config)

# https://learn.scientific-python.org/development/guides/style/#RF001
"RF001", # Has Ruff config
]

Loading