Skip to content

Commit 4621dbd

Browse files
authored
Fix setup.cfg (#13)
1 parent 02edc72 commit 4621dbd

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
hooks:
1515
- id: pyupgrade
1616
- repo: https://github.com/PyCQA/isort
17-
rev: 5.5.2
17+
rev: 5.5.3
1818
hooks:
1919
- id: isort
2020
- repo: https://github.com/psf/black
@@ -28,7 +28,7 @@ repos:
2828
hooks:
2929
- id: setup-cfg-fmt
3030
- repo: https://github.com/PyCQA/flake8
31-
rev: "d0a0cb4"
31+
rev: "3.8.3"
3232
hooks:
3333
- id: flake8
3434
additional_dependencies: ["flake8-bugbear == 20.1.4"]

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# tox-ini-fmt
22

3-
![check](https://github.com/tox-dev/tox-ini-fmt/workflows/check/badge.svg?branch=main)
4-
53
[![PyPI](https://img.shields.io/pypi/v/tox-ini-fmt?style=flat-square)](https://pypi.org/project/tox-ini-fmt)
64
[![PyPI - Implementation](https://img.shields.io/pypi/implementation/tox-ini-fmt?style=flat-square)](https://pypi.org/project/tox-ini-fmt)
75
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/tox-ini-fmt?style=flat-square)](https://pypi.org/project/tox-ini-fmt)
@@ -28,7 +26,7 @@ Sample `.pre-commit-config.yaml`:
2826

2927
```yaml
3028
- repo: https://github.com/tox-dev/tox-ini-fmt
31-
rev: v0.0.1
29+
rev: "0.2.0"
3230
hooks:
3331
- id: tox-ini-fmt
3432
```

setup.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ classifiers =
1919
Programming Language :: Python :: 3.6
2020
Programming Language :: Python :: 3.7
2121
Programming Language :: Python :: 3.8
22+
Programming Language :: Python :: Implementation :: CPython
23+
Programming Language :: Python :: Implementation :: PyPy
2224
Topic :: Utilities
23-
keywords = pytest, print, debug
25+
keywords = tox, formatter
2426
maintainer-email = [email protected]
2527
project_urls =
2628
Source=https://github.com/tox-dev/tox-ini-fmt

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ commands =
4040
pre-commit run --all-files --show-diff-on-failure
4141
python -c 'print("hint: run {envdir}/bin/pre-commit install to add checks as pre-commit hook")'
4242

43+
[testenv:type]
44+
description = run type check on code base
45+
deps =
46+
mypy==0.782
47+
commands =
48+
mypy --strict --python-version 3.8 {envsitepackagesdir}/tox_ini_fmt
49+
4350
[testenv:pkg_check]
4451
description = check that the long description is valid
4552
passenv =
@@ -54,13 +61,6 @@ commands =
5461
twine check {envtmpdir}/*
5562
changedir = {toxinidir}
5663

57-
[testenv:type]
58-
description = run type check on code base
59-
deps =
60-
mypy==0.782
61-
commands =
62-
mypy --strict --python-version 3.8 {envsitepackagesdir}/tox_ini_fmt
63-
6464
[testenv:dev]
6565
description = generate a DEV environment
6666
basepython = python3.8

0 commit comments

Comments
 (0)