Skip to content

Commit

Permalink
Unify migrations ruff rules
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Sep 12, 2024
1 parent f16311f commit e91ce40
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,7 @@ multiline-quotes = "double"
"saml-config/attribute-maps/*.py" = ["Q", "E231", "W292", "W291", "E501", "I002"]

# mostly generated
"course/migrations/*.py" = ["Q", "E501", "RUF012", "F401", "I002", "UP"]
"accounts/migrations/*.py" = [
"Q", "E501", "RUF012", "F401", "E303", "B023", "E731", "N806", "F841",
"I002"]
"*/migrations/*.py" = ["Q", "E501", "RUF012", "F401", "I002", "UP"]

# TODO
"tests/**/*.py" = ["F841", "RUF012"]
Expand Down

0 comments on commit e91ce40

Please sign in to comment.