Skip to content

Commit bc5a0b3

Browse files
committed
Update .pre-commit-config.yaml
1 parent c6ddf5a commit bc5a0b3

File tree

2 files changed

+32
-34
lines changed

2 files changed

+32
-34
lines changed

.pre-commit-config.yaml

Lines changed: 23 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,22 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.2.0
3+
rev: v3.3.0
44
hooks:
55
- id: check-case-conflict
66
- id: check-merge-conflict
77
- id: trailing-whitespace
88
args: [--markdown-linebreak-ext=md]
99
- id: end-of-file-fixer
1010
- id: check-toml
11-
- id: check-xml
1211
- id: check-yaml
1312
- id: requirements-txt-fixer
14-
- repo: https://github.com/prettier/prettier
15-
rev: 2.1.1
13+
- repo: https://github.com/prettier/pre-commit
14+
rev: 57f39166b5a5a504d6808b87ab98d41ebf095b46
1615
hooks:
1716
- id: prettier
1817
args: [--prose-wrap=always, --print-width=88]
19-
- id: prettier
20-
alias: prettier-xml
21-
name: prettier xml
22-
additional_dependencies: ["@prettier/[email protected]"]
23-
args: [--plugin=@prettier/plugin-xml, --prose-wrap=always, --print-width=88]
24-
files: ""
25-
types: [xml]
26-
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
27-
rev: v1.5.0
28-
hooks:
29-
- id: pretty-format-ini
30-
args: [--autofix]
31-
types: [ini]
32-
files: ""
3318
- repo: https://github.com/mgedmin/check-manifest
34-
rev: "0.42"
19+
rev: "0.45"
3520
hooks:
3621
- id: check-manifest
3722
- repo: https://github.com/asottile/seed-isort-config
@@ -42,22 +27,31 @@ repos:
4227
always_run: false
4328
types: [python]
4429
- repo: https://github.com/timothycrosley/isort
45-
rev: 5.5.2
30+
rev: 5.6.4
4631
hooks:
4732
- id: isort
4833
additional_dependencies:
4934
- toml
50-
- repo: https://github.com/PyCQA/bandit
51-
rev: 1.6.2
35+
- repo: https://github.com/asottile/setup-cfg-fmt
36+
rev: v1.15.1
5237
hooks:
53-
- id: bandit
54-
args: [--recursive, --quiet, --skip=B322]
38+
- id: setup-cfg-fmt
39+
- repo: https://github.com/asottile/pyupgrade
40+
rev: v2.7.4
41+
hooks:
42+
- id: pyupgrade
43+
args: [--py37-plus]
5544
- repo: https://github.com/psf/black
5645
rev: 20.8b1
5746
hooks:
5847
- id: black
48+
- repo: https://github.com/PyCQA/bandit
49+
rev: 1.6.2
50+
hooks:
51+
- id: bandit
52+
args: [--recursive, --quiet, --skip=B322]
5953
- repo: https://gitlab.com/pycqa/flake8
60-
rev: 3.8.3
54+
rev: 3.8.4
6155
hooks:
6256
- id: flake8 # E***, W***, F***
6357
additional_dependencies:
@@ -70,7 +64,7 @@ repos:
7064
- flake8-variables-names # VNE***
7165
- mccabe # C9**
7266
- pep8-naming # N8**
73-
#- repo: https://github.com/PyCQA/pylint
74-
# rev: master
75-
# hooks:
76-
# - id: pylint
67+
# - repo: https://github.com/pre-commit/mirrors-mypy
68+
# rev: v0.790
69+
# hooks:
70+
# - id: mypy

README.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@ sphinxcontrib-email
22
===================
33

44
|badge:pypi-version| |badge:py-versions|
5-
|badge:pre-commit| |badge:black| |badge:prettier|
5+
|badge:pre-commit| |badge:pre-commit.ci|
6+
|badge:black| |badge:prettier|
67

7-
.. |badge:pypi-version| image:: https://img.shields.io/pypi/v/sphinxcontrib-email.svg
8-
:target: https://pypi.org/project/sphinxcontrib-email/
8+
.. |badge:pypi-version| image:: https://img.shields.io/pypi/v/sphinxcontrib-scm.svg
9+
:target: https://pypi.org/project/sphinxcontrib-scm
910
:alt: [Latest PyPI version]
10-
.. |badge:py-versions| image:: https://img.shields.io/pypi/pyversions/sphinxcontrib-email.svg
11-
:target: https://pypi.org/project/sphinxcontrib-email/
11+
.. |badge:py-versions| image:: https://img.shields.io/pypi/pyversions/sphinxcontrib-scm.svg
12+
:target: https://pypi.org/project/sphinxcontrib-scm
1213
:alt: [Supported Python versions]
1314
.. |badge:pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen.svg?logo=pre-commit&logoColor=white
1415
:target: https://github.com/pre-commit/pre-commit
1516
:alt: [pre-commit: enabled]
17+
.. |badge:pre-commit.ci| image:: https://results.pre-commit.ci/badge/github/sphinx-contrib/scm/master.svg
18+
:target: https://results.pre-commit.ci/latest/github/sphinx-contrib/scm/master
19+
:alt: [pre-commit.ci status]
1620
.. |badge:black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
1721
:target: https://github.com/psf/black
1822
:alt: [Code style: black]

0 commit comments

Comments
 (0)