github / stale-repos

Find stale repositories in a GitHub organization.
https://github.blog/2023-06-05-announcing-the-stale-repos-action/
MIT License
123 stars 26 forks source link

chore: add black linter to `make lint` #102

Closed jmeridth closed 3 months ago

jmeridth commented 3 months ago

Pull Request

Proposed Changes

Since super-linter isn't arm64 friendly yet (what we use for linting in GitHub Actions on this repo), I'm a fan of adding black linter to make lint.

✗ make lint
pylint --rcfile=.pylintrc --fail-under=9.0 *.py

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --exclude .venv --show-source --statistics
0
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exclude .venv --exit-zero --max-complexity=10 --max-line-length=127 --statistics
0
black .
All done! ✨ 🍰 ✨

Readiness Checklist

Author/Contributor

Reviewer