Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .pre-commit-config.yaml #204

Open
grossir opened this issue Feb 5, 2025 · 0 comments
Open

Add .pre-commit-config.yaml #204

grossir opened this issue Feb 5, 2025 · 0 comments

Comments

@grossir
Copy link
Contributor

grossir commented Feb 5, 2025

We need a pre-commit config that matches the PR checks:

- name: Black Code Formatter
uses: psf/black@stable
- name: Run flake8
uses: py-actions/flake8@v2
- name: isort Import Sorter
uses: isort/isort-action@v1
- name: pylint Error Checker
run: pylint --fail-under 9 -f colorized eyecite
- name: mypy Static Type Checker
run: mypy .

Courtlistener's config
https://github.com/freelawproject/courtlistener/blob/main/.pre-commit-config.yaml

@mlissner mlissner moved this to General Backlog in Case Law Sprint Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: General Backlog
Development

No branches or pull requests

1 participant