Skip to content

Commit

Permalink
Update config (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored Apr 10, 2023
1 parent ac0e361 commit 03510e1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
with:
user: jazzband
password: ${{ secrets.JAZZBAND_RELEASE_KEY }}
repository_url: https://jazzband.co/projects/prettytable/upload
repository-url: https://jazzband.co/projects/prettytable/upload
2 changes: 1 addition & 1 deletion .github/workflows/require-pr-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: mheap/github-action-required-labels@v3
- uses: mheap/github-action-required-labels@v4
with:
mode: minimum
count: 1
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ repos:
- id: validate-pyproject

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.0.0
rev: 1.3.0
hooks:
- id: tox-ini-fmt

Expand All @@ -60,7 +60,7 @@ repos:
exclude: ^.github/ISSUE_TEMPLATE/bug_report.md$

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.1.1"
rev: "v1.2.0"
hooks:
- id: mypy
additional_dependencies: [types-colorama, types-setuptools]
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[tox]
envlist =
requires =
tox>=4.2
env_list =
lint
py{py3, 312, 311, 310, 39, 38, 37}
isolated_build = true

[testenv]
extras =
tests
passenv =
pass_env =
FORCE_COLOR
commands =
{envpython} -m pytest \
Expand All @@ -20,7 +21,7 @@ commands =
skip_install = true
deps =
pre-commit
passenv =
pass_env =
PRE_COMMIT_COLOR
commands =
pre-commit run --all-files --show-diff-on-failure

0 comments on commit 03510e1

Please sign in to comment.