mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-08-17 07:40:38 +03:00
Bump Django to 4.2.9, replace dev dependencies ruff
This commit is contained in:
parent
b89dab1c15
commit
4d7fe23675
15
.github/workflows/py-linter.yml
vendored
15
.github/workflows/py-linter.yml
vendored
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user