blocklint for linting project code for non-inclusive language (#122)

This commit is contained in:
Stuart Reed
2024-03-18 16:34:27 -06:00
committed by GitHub
parent c72ec7f6d9
commit d74895903d
2 changed files with 8 additions and 0 deletions

View File

@ -48,3 +48,8 @@ repos:
hooks:
- id: mypy
exclude: tests/
- repo: https://github.com/PrincetonUniversity/blocklint
rev: v0.2.4
hooks:
- id: blocklint
exclude: 'docs/Makefile|docs/release_notes.rst|tox.ini'

View File

@ -12,6 +12,9 @@ extend-ignore=E203
max-line-length=88
per-file-ignores=__init__.py:F401
[blocklint]
max_issue_threshold=1
[testenv]
usedevelop=True
commands=