Bump Django to 4.2.9, replace dev dependencies ruff

This commit is contained in:
Reckless_Satoshi 2024-01-16 17:20:37 +00:00
parent b89dab1c15
commit 4d7fe23675
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
4 changed files with 5 additions and 19 deletions

View File

@ -26,16 +26,5 @@ jobs:
with:
python-version: '3.12'
cache: pip
- run: pip install -r requirements_dev.txt
- name: Run linters
uses: wearerequired/lint-action@v2
with:
auto_fix: true
git_name: "Python Lint Action"
commit_message: "Fix code style issues with ${linter}"
commit: false
neutral_check_on_warning: true
black: true
flake8: true
# Flake8 doesn't support auto-fixing
flake8_auto_fix: false
- name: Ruff
uses: chartboost/ruff-action@v1

View File

@ -48,7 +48,7 @@ repos:
types_or: [javascript, jsx, ts, tsx, css, markdown, json] # uses https://github.com/pre-commit/identify
entry: bash -c 'cd mobile && npm run format'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.11
rev: v0.1.13
hooks:
- id: ruff
stages:

View File

@ -1,4 +1,4 @@
django==4.2.7
django==4.2.9
django-admin-relation-links==0.2.5
django-celery-beat==2.5.0
django-celery-results==2.5.1

View File

@ -1,7 +1,4 @@
coverage==7.4.0
black==23.3.0
isort==5.13.2
flake8==7.0.0
pyflakes==3.2.0
ruff==0.1.13
drf-openapi-tester==2.3.3
pre-commit==3.6.0