mirror of
https://github.com/lutris/lutris
synced 2024-10-02 22:14:23 +00:00
Remove yapf check, not consistent with Black
This commit is contained in:
parent
00d9cee4f2
commit
3b5df9e487
9
Makefile
9
Makefile
|
@ -69,7 +69,7 @@ requirements:
|
|||
# Style checks
|
||||
# ============
|
||||
|
||||
style: isort autopep8 yapf ## Format code
|
||||
style: isort autopep8 ## Format code
|
||||
|
||||
isort:
|
||||
$(PIPENV) run isort -y -rc lutris
|
||||
|
@ -77,21 +77,16 @@ isort:
|
|||
autopep8:
|
||||
$(PIPENV) run autopep8 --in-place --recursive --ignore E402 setup.py lutris
|
||||
|
||||
yapf:
|
||||
$(PIPENV) run yapf --style .yapf --recursive -i lutris
|
||||
|
||||
# ===============
|
||||
# Static analysis
|
||||
# ===============
|
||||
|
||||
check: isort-check yapf-check flake8 pylint
|
||||
check: isort-check flake8 pylint
|
||||
|
||||
isort-check:
|
||||
$(PIPENV) run isort -c -rc lutris
|
||||
|
||||
yapf-check:
|
||||
$(PIPENV) run yapf --style .yapf --recursive --diff lutris
|
||||
|
||||
flake8:
|
||||
$(PIPENV) run flake8 lutris
|
||||
|
||||
|
|
1
Pipfile
1
Pipfile
|
@ -5,7 +5,6 @@ isort = '>=4.3'
|
|||
pycodestyle = '>=2.5'
|
||||
PyGObject-stubs = '*'
|
||||
pylint = '==2.4.4'
|
||||
yapf = '>=0.30'
|
||||
pipenv-to-requirements = "*"
|
||||
|
||||
[packages]
|
||||
|
|
8
Pipfile.lock
generated
8
Pipfile.lock
generated
|
@ -461,14 +461,6 @@
|
|||
],
|
||||
"index": "pypi",
|
||||
"version": "==1.12.1"
|
||||
},
|
||||
"yapf": {
|
||||
"hashes": [
|
||||
"sha256:3000abee4c28daebad55da6c85f3cd07b8062ce48e2e9943c8da1b9667d48427",
|
||||
"sha256:3abf61ba67cf603069710d30acbc88cfe565d907e16ad81429ae90ce9651e0c9"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==0.30.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,4 +34,3 @@ six==1.14.0
|
|||
virtualenv-clone==0.5.4
|
||||
virtualenv==20.0.18
|
||||
wrapt==1.11.2
|
||||
yapf==0.30.0
|
||||
|
|
Loading…
Reference in a new issue