mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
chore(lint): Take hooks configs out so linting works without pre-commit too (#609)
This commit is contained in:
parent
3171f212ab
commit
db7823a2e2
4 changed files with 11 additions and 8 deletions
|
|
@ -20,24 +20,16 @@ repos:
|
||||||
rev: 5.10.1
|
rev: 5.10.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
args: [
|
|
||||||
-o, # KNOWN_THIRD_PARTY
|
|
||||||
frappe,
|
|
||||||
--profile,
|
|
||||||
black,
|
|
||||||
]
|
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: v2.5.1
|
rev: v2.5.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
exclude: installation/docker-compose-custom.yml
|
|
||||||
|
|
||||||
- repo: https://github.com/codespell-project/codespell
|
- repo: https://github.com/codespell-project/codespell
|
||||||
rev: v2.1.0
|
rev: v2.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
exclude: "build/bench/Dockerfile"
|
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
||||||
1
.prettierignore
Normal file
1
.prettierignore
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
installation/docker-compose-custom.yml
|
||||||
1
.shellcheckrc
Normal file
1
.shellcheckrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
external-sources=true
|
||||||
9
setup.cfg
Normal file
9
setup.cfg
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
# Config file for isort, codespell and other Python projects.
|
||||||
|
# In this case it is not used for packaging.
|
||||||
|
|
||||||
|
[isort]
|
||||||
|
profile = black
|
||||||
|
known_third_party = frappe
|
||||||
|
|
||||||
|
[codespell]
|
||||||
|
skip = build/bench/Dockerfile
|
||||||
Loading…
Reference in a new issue