Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
* Update pip-compile commands to generate hashes
* Upgrade Python requirements
* Upgrade pre-commit dependencies
  • Loading branch information
replaceafill authored Jun 12, 2024
1 parent cd21247 commit b174795
Show file tree
Hide file tree
Showing 5 changed files with 710 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
hooks:
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.5
rev: v0.4.8
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.PHONY: pip-compile
pip-compile: # Compile pip requirements
pip-compile --allow-unsafe --output-file requirements.txt requirements.in
pip-compile --allow-unsafe --output-file requirements-dev.txt requirements-dev.in
pip-compile --allow-unsafe --generate-hashes --output-file requirements.txt requirements.in
pip-compile --allow-unsafe --generate-hashes --output-file requirements-dev.txt requirements-dev.in

.PHONY: pip-upgrade
pip-upgrade: # Upgrade pip requirements
pip-compile --allow-unsafe --upgrade --output-file requirements.txt requirements.in
pip-compile --allow-unsafe --upgrade --output-file requirements-dev.txt requirements-dev.in
pip-compile --allow-unsafe --upgrade --generate-hashes --output-file requirements.txt requirements.in
pip-compile --allow-unsafe --upgrade --generate-hashes --output-file requirements-dev.txt requirements-dev.in

.PHONY: pip-sync
pip-sync: # Sync virtualenv
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-r requirements.txt

pip-tools
ruff
tox
Loading

0 comments on commit b174795

Please sign in to comment.