From c4ea5f6af139cdbe7d83489f6640038b513fab87 Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Thu, 1 Aug 2024 23:09:17 +0300 Subject: [PATCH] build: configure Graylint defaults for repo --- check-darker.toml | 4 ++++ pyproject.toml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/check-darker.toml b/check-darker.toml index e29e6fad3..85532ab66 100644 --- a/check-darker.toml +++ b/check-darker.toml @@ -24,6 +24,10 @@ src = [ ] revision = "origin/master..." isort = true + +[tool.graylint] +src = ["."] +revision = "origin/master..." lint = [ "flake8", "mypy", diff --git a/pyproject.toml b/pyproject.toml index 57731a09c..d0167371e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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.