summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-30 21:03:07 +0200
committerGitHub <noreply@github.com>2021-04-30 21:03:07 +0200
commit25ab48a3476ecba9116f34245111c777e2c6d071 (patch)
tree35c3c2e4b2e5e1d5444ce3bea13b9fcea4f7895e
parent822b99e1260417c3141fa947e65237e40d1bfa8b (diff)
downloadpylint-git-master.tar.gz
Add pre-commit CI in continuous integration (#4423)master
* Add pre-commit CI in continuous integration
-rw-r--r--.github/workflows/ci.yaml2
-rw-r--r--README.rst4
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index c99e60648..ad6970941 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -110,7 +110,7 @@ jobs:
run: |
. venv/bin/activate
pip install -e .
- pre-commit run --all-files
+ pre-commit run pylint --all-files
spelling:
name: Run spelling checks
diff --git a/README.rst b/README.rst
index d5369573a..af52d058c 100644
--- a/README.rst
+++ b/README.rst
@@ -20,6 +20,10 @@ README for Pylint - https://pylint.pycqa.org/
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/ambv/black
+.. image:: https://results.pre-commit.ci/badge/github/PyCQA/pylint/master.svg
+ :target: https://results.pre-commit.ci/latest/github/PyCQA/pylint/master
+ :alt: pre-commit.ci status
+
.. |tideliftlogo| image:: https://raw.githubusercontent.com/PyCQA/pylint/master/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png
:width: 75
:height: 60