From f421d0ac40517ef2a765d715ac99b6d25582c25c 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 d19411ebb..2ba7570e5 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.