-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy path.pre-commit-config-optional.yaml
37 lines (37 loc) · 1.22 KB
/
.pre-commit-config-optional.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
exclude: |
(?x)(
# NOT INSTALLABLE ADDONS
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
# We don't want to mess with tool-generated files
.svg$|/tests/([^/]+/)?cassettes/|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
/static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)|
(\.travis\.yml|\.gitlab\-ci\.yml|\.pre\-commit\-config*\.yaml)|
# It was ignored from original MQT since that there is not init file
(/migrations/)|
(/doc/|/docs/)|
# EXCLUDE_LINT (Don't delete this line because if used from MQT)
# Legacy modules absa: galaxy
(galaxy/)|
# External scripts
(scripts/)
)
default_language_version:
python: python3
node: "14.13.0"
repos:
- repo: https://github.com/vauxoo/pylint-odoo
rev: vx-5.0.5
hooks:
- id: pylint
name: pylint optional checks
args:
- --rcfile=.pylintrc-optional