Skip to content

Commit

Permalink
Update deployment, pre-commit, and project configurations
Browse files Browse the repository at this point in the history
-  Update the GitHub Actions deployment workflow by adding a new `platforms` line
-  Bump up the versions of pre-commit hooks and change the source repo of `ruff`
-  Adjust the order of constants in `base.py` and update some of the dependencies in `pyproject.toml`
-  Modify the ignore rules in the ruff linter configuration
  • Loading branch information
jag-k committed Apr 9, 2024
1 parent ece866c commit f950adf
Show file tree
Hide file tree
Showing 5 changed files with 433 additions and 397 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64,linux/arm/v7


release:
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:

- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.1.6'
rev: 'v0.3.5'
hooks:
# Run the linter.
- id: ruff
Expand All @@ -17,7 +17,7 @@ repos:
- id: ruff-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down
8 changes: 4 additions & 4 deletions app/config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

__all__ = (
"BASE_PATH",
"NPS_DIR",
"TORRENT_DIR",
"BOT_KEY",
"BOT_URL",
"OVERRIDE_TORRENTS",
"SUCCESS_MESSAGE",
"HOST",
"NPS_DIR",
"OVERRIDE_TORRENTS",
"PORT",
"SUCCESS_MESSAGE",
"TORRENT_DIR",
)
Loading

0 comments on commit f950adf

Please sign in to comment.