Skip to content

Commit

Permalink
Merge branch 'main' into feature/schedule_crawl
Browse files Browse the repository at this point in the history
  • Loading branch information
macpd committed Jun 23, 2024
2 parents e464b5f + 4966172 commit 9184c96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,15 @@ hatch run test:postgres-integration-test-docker-as-sudo

## Automatic formatting and linting with ruff
To check if ruff would change code (but not actually make changes):

`hatch fmt --check`
To apply changes from ruff

To apply changes from ruff:

`hatch fmt`

NOTE: formatting fixes will not be applied if linter finds errors.

## Alembic database schema migrations
Alembic is a tool/framework for database schema migrations. For instructions on
how to use and and create revisions see https://alembic.sqlalchemy.org/en/latest/tutorial.html
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ exclude = ["./alembic"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"E", "W",
# Pyflakes
"F",
# pyupgrade
Expand Down

0 comments on commit 9184c96

Please sign in to comment.