mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-09-11 19:57:11 +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:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.12'
|
||||||
cache: pip
|
cache: pip
|
||||||
- run: pip install -r requirements_dev.txt
|
- name: Ruff
|
||||||
- name: Run linters
|
uses: chartboost/ruff-action@v1
|
||||||
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
|
|
||||||
|
@ -48,7 +48,7 @@ repos:
|
|||||||
types_or: [javascript, jsx, ts, tsx, css, markdown, json] # uses https://github.com/pre-commit/identify
|
types_or: [javascript, jsx, ts, tsx, css, markdown, json] # uses https://github.com/pre-commit/identify
|
||||||
entry: bash -c 'cd mobile && npm run format'
|
entry: bash -c 'cd mobile && npm run format'
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.1.11
|
rev: v0.1.13
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
stages:
|
stages:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
django==4.2.7
|
django==4.2.9
|
||||||
django-admin-relation-links==0.2.5
|
django-admin-relation-links==0.2.5
|
||||||
django-celery-beat==2.5.0
|
django-celery-beat==2.5.0
|
||||||
django-celery-results==2.5.1
|
django-celery-results==2.5.1
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
coverage==7.4.0
|
coverage==7.4.0
|
||||||
black==23.3.0
|
ruff==0.1.13
|
||||||
isort==5.13.2
|
|
||||||
flake8==7.0.0
|
|
||||||
pyflakes==3.2.0
|
|
||||||
drf-openapi-tester==2.3.3
|
drf-openapi-tester==2.3.3
|
||||||
pre-commit==3.6.0
|
pre-commit==3.6.0
|
Loading…
Reference in New Issue
Block a user