Skip to content

Commit

Permalink
Bump ver
Browse files Browse the repository at this point in the history
  • Loading branch information
sco1 committed Aug 1, 2022
1 parent 7e1befe commit 7c0c965
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.9.0
current_version = 2.9.1
commit = False

[bumpversion:file:pyproject.toml]
Expand Down
30 changes: 30 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[flake8]
max-line-length=100
docstring-convention=all
extend-ignore=
P102,B311,W503,E226,S311,
# Missing Docstrings
D100,D104,D105,D107,
# Docstring Whitespace
D203,D212,D214,D215,
# Docstring Quotes
D301,D302,
# Docstring Content
D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417,
# Type Annotations
ANN002,ANN003,ANN101,ANN102,ANN204,ANN206,
# pep8-naming
N802,N806,N815,
extend-select=
# Type Guards
TC1
exclude=
__pycache__,.cache,
venv,.venv,
build, dist,
error_codes.py,
.tox
per-file-ignores =
testing/test_*.py:TC E501 D103,
import-order-style=pycharm
application-import-names=flake8_annotations,testing
2 changes: 1 addition & 1 deletion .github/workflows/lint_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
fail-fast: false

steps:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cog.out(
]]] -->
```bash
$ flake8 --version
5.0.2 (flake8-annotations: 2.9.0, mccabe: 0.7.0, pycodestyle: 2.9.0, pyflakes:2.5.0) CPython 3.10.5 on Darwin
5.0.2 (flake8-annotations: 2.9.1, mccabe: 0.7.0, pycodestyle: 2.9.0, pyflakes:2.5.0) CPython 3.10.5 on Darwin
```
<!-- [[[end]]] -->

Expand Down
2 changes: 1 addition & 1 deletion flake8_annotations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
else:
PY_GTE_38 = False

__version__ = "2.9.0"
__version__ = "2.9.1"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "flake8-annotations"
version = "2.9.0"
version = "2.9.1"
description = "Flake8 Type Annotation Checks"
license = "MIT"
readme = "README.md"
Expand Down
44 changes: 11 additions & 33 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,42 +1,20 @@
[flake8]
max-line-length=100
docstring-convention=all
extend-ignore=
P102,B311,W503,E226,S311,
# Missing Docstrings
D100,D104,D105,D107,
# Docstring Whitespace
D203,D212,D214,D215,
# Docstring Quotes
D301,D302,
# Docstring Content
D400,D401,D402,D404,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414,D416,D417,
# Type Annotations
ANN002,ANN003,ANN101,ANN102,ANN204,ANN206,
# pep8-naming
N802,N806,N815,
extend-select=
# Type Guards
TC1
exclude=
__pycache__,.cache,
venv,.venv,
build, dist,
error_codes.py,
.tox
per-file-ignores =
testing/test_*.py:TC E501 D103,
import-order-style=pycharm
application-import-names=flake8_annotations,testing

[pytest]
testpaths = testing/
junit_family = xunit2
addopts =
--junitxml=test-pytest.xml
--cov=flake8_annotations --cov=testing
--cov-branch
--cov-append --cov-report xml:cov.xml --cov-report term-missing
--cov-append --cov-report xml:cov.xml --cov-report term-missing

[coverage:run]
branch = True

[coverage:report]
exclude_lines =
pragma: no cover
if t.TYPE_CHECKING:
if typing.TYPE_CHECKING:
if TYPE_CHECKING:

[tox]
envlist = clean,py{37,38,39,310,311},cog
Expand Down

0 comments on commit 7c0c965

Please sign in to comment.