Skip to content

Commit

Permalink
build: configure Graylint defaults for repo
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Aug 1, 2024
1 parent f515ed0 commit d4ab730
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions check-darker.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ src = [
]
revision = "origin/master..."
isort = true

[tool.graylint]
src = ["."]
revision = "origin/master..."
lint = [
"flake8",
"mypy",
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ src = [
]
revision = "origin/master..."

[tool.graylint]
revision = "origin/master..."
src = ["."]

[tool.pylint."messages control"]
# Check import order only with isort. Pylint doesn't support a custom list of first
# party packages. We want to consider "darkgraylib" and "graylint" as first party.
Expand Down

0 comments on commit d4ab730

Please sign in to comment.