Skip to content

Commit

Permalink
Merge pull request #22 from kraken-tech/snagging
Browse files Browse the repository at this point in the history
Ensure Ruff formatting errors are picked up in CI
  • Loading branch information
codeinthehole authored May 8, 2024
2 parents 540d068 + 4e10a82 commit 84a6175
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ Run all static analysis tools with:
make lint
```

This may make changes to the local files if improvements are available.

### Managing dependencies

Package dependencies are declared in `pyproject.toml`.
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ requirements/development.txt: pyproject.toml

.PHONY:format
format:
ruff format .
ruff format --check .

.PHONY:style
style:
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify-version-tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
that the tag matches the version in the `pyproject.toml` file,
and that the tag is in the CHANGELOG.
"""

import pathlib
import re
import subprocess
import sys

Expand Down
1 change: 1 addition & 0 deletions src/django_integrity/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from django import db as django_db


try:
from psycopg import sql
except ImportError:
Expand Down
1 change: 1 addition & 0 deletions src/django_integrity/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

from django import db as django_db


try:
import psycopg
except ImportError:
Expand Down

0 comments on commit 84a6175

Please sign in to comment.