Skip to content

Commit

Permalink
Merge pull request #110 from sco1/ci-update
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
sco1 committed Apr 21, 2021
2 parents fca2266 + f504568 commit 2b8f6d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
10 changes: 0 additions & 10 deletions .github/dependabot.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ jobs:
pip install poetry
poetry install
- name: Run pre-commit
uses: pre-commit/action@v2.0.0
with:
extra_args: --all-files -v
env:
SKIP: flake8 # Manually invoke to mitigate file not found error in CI

- name: Run flake8
run: poetry run flake8

Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
ci:
skip: [flake8]

repos:
- repo: local
hooks:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flake8-annotations)](https://pypi.org/project/flake8-annotations/)
[![PyPI](https://img.shields.io/pypi/v/flake8-annotations)](https://pypi.org/project/flake8-annotations/)
[![PyPI - License](https://img.shields.io/pypi/l/flake8-annotations?color=magenta)](https://github.com/sco1/flake8-annotations/blob/master/LICENSE)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/sco1/flake8-annotations/main.svg)](https://results.pre-commit.ci/latest/github/sco1/flake8-annotations/main)
[![Code style: black](https://img.shields.io/badge/code%20style-black-black)](https://github.com/psf/black)

`flake8-annotations` is a plugin for [Flake8](http://flake8.pycqa.org/en/latest/) that detects the absence of [PEP 3107-style](https://www.python.org/dev/peps/pep-3107/) function annotations and [PEP 484-style](https://www.python.org/dev/peps/pep-0484/#type-comments) type comments (see: [Caveats](#Caveats-for-PEP-484-style-Type-Comments)).
Expand Down

0 comments on commit 2b8f6d8

Please sign in to comment.