Skip to content

Add ruff flake8-pytest-style rules #1369

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

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

bmos
Copy link
Contributor

@bmos bmos commented Mar 21, 2025

https://docs.astral.sh/ruff/rules/#flake8-pytest-style-pt

These ruff rules handle best practices and mistakes relating to pytest use.

58f8002 especially should make our tests much more resilient to false positives.

@bmos bmos force-pushed the flake8-pytest-style branch from 1351fd3 to 58f8002 Compare March 22, 2025 03:34
@bmos bmos marked this pull request as ready for review March 22, 2025 03:35
Copy link

github-actions bot commented Mar 22, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  parsons/databases/redshift
  rs_table_utilities.py
  parsons/etl
  table.py
  parsons/nation_builder
  nation_builder.py
  parsons/ngpvan
  people.py
  parsons/notifications
  sendmail.py
  parsons/targetsmart
  targetsmart_api.py
Project Total  

This report was generated by python-coverage-comment-action

@bmos bmos force-pushed the flake8-pytest-style branch from f49cb36 to f695ffc Compare April 27, 2025 00:16
@bmos bmos force-pushed the flake8-pytest-style branch from f695ffc to 57e18e8 Compare April 27, 2025 00:19
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