diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-30 19:44:22 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-30 19:54:54 +0200 |
commit | 052858174c4e435b77693cb3023ebd8e5c81829f (patch) | |
tree | d80eefcfcd7d227c0f7555fe246bf41a12316823 | |
parent | b964e1f5e04194221b795594d3924b7eb3e8e312 (diff) | |
download | astroid-git-master.tar.gz |
Add pre-commit CI in continuous integrationmaster
-rw-r--r-- | .github/workflows/ci.yaml | 2 | ||||
-rw-r--r-- | .pre-commit-config.yaml | 2 | ||||
-rw-r--r-- | README.rst | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d3e04ff2..6e6f39a8 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 prepare-tests-linux: name: Prepare tests for Python ${{ matrix.python-version }} (Linux) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d62b4c3f..8dc95c32 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,5 @@ +ci: + skip: [pylint] repos: - repo: https://github.com/myint/autoflake rev: v1.4 @@ -18,6 +18,10 @@ Astroid .. 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/astroid/master.svg + :target: https://results.pre-commit.ci/latest/github/PyCQA/astroid/master + :alt: pre-commit.ci status + .. |tideliftlogo| image:: https://raw.githubusercontent.com/PyCQA/astroid/master/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png :width: 75 :height: 60 |