mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 05:45:09 +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
|
||||
hooks:
|
||||
- id: isort
|
||||
args: [
|
||||
-o, # KNOWN_THIRD_PARTY
|
||||
frappe,
|
||||
--profile,
|
||||
black,
|
||||
]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v2.5.1
|
||||
hooks:
|
||||
- id: prettier
|
||||
exclude: installation/docker-compose-custom.yml
|
||||
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
rev: v2.1.0
|
||||
hooks:
|
||||
- id: codespell
|
||||
exclude: "build/bench/Dockerfile"
|
||||
|
||||
- repo: local
|
||||
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