Skip to content

Commit 3b7ad82

Browse files
authored
Merge pull request #400 from FoamyGuy/update_reports
update lint config check for ruff
2 parents f23c9c4 + 30d2476 commit 3b7ad82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adabot/lib/circuitpython_library_validators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"CircuitPythonLibrarians team missing or does not have write access"
7676
)
7777
ERROR_MISSING_LICENSE = "Missing license."
78-
ERROR_MISSING_LINT = "Missing lint config"
78+
ERROR_MISSING_RUFF_CONFIG = "Missing ruff config"
7979
ERROR_MISSING_CODE_OF_CONDUCT = "Missing CODE_OF_CONDUCT.md"
8080
ERROR_MISSING_README_RST = "Missing README.rst"
8181
ERROR_MISSING_READTHEDOCS = "Missing readthedocs.yaml"
@@ -672,8 +672,8 @@ def validate_contents(self, repo):
672672
return []
673673

674674
errors = []
675-
if ".pylintrc" not in files:
676-
errors.append(ERROR_MISSING_LINT)
675+
if "ruff.toml" not in files:
676+
errors.append(ERROR_MISSING_RUFF_CONFIG)
677677

678678
if "CODE_OF_CONDUCT.md" not in files:
679679
errors.append(ERROR_MISSING_CODE_OF_CONDUCT)

0 commit comments

Comments
 (0)