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

Run pylint & black on PRs and commits #25

Merged
merged 3 commits into from
Dec 2, 2023

Conversation

duckduckgrayduck
Copy link

This runs on the ./documentcloud directory for now.
Tests have some of their own pylint issues:

s@pop-os:~/python-documentcloud$ pylint ./tests
************* Module tests.test_documents
tests/test_documents.py:78:12: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/test_documents.py:161:44: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
tests/test_documents.py:179:14: R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
************* Module tests.conftest
tests/conftest.py:145:16: C0209: Formatting a regular string which could be an f-string (consider-using-f-string)

I'm opening an issue for that, and then will include that directory in the pylint & black checks.

@duckduckgrayduck duckduckgrayduck merged commit 9f3851a into MuckRock:master Dec 2, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant