From 25ab48a3476ecba9116f34245111c777e2c6d071 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Fri, 30 Apr 2021 21:03:07 +0200 Subject: Add pre-commit CI in continuous integration (#4423) * Add pre-commit CI in continuous integration --- .github/workflows/ci.yaml | 2 +- README.rst | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1