8000 Infra: add tests by hugovk · Pull Request #2545 · python/peps · GitHub
[go: up one dir, main page]

Skip to content

Infra: add tests #2545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
hugovk and CAM-Gerlach authored Apr 21, 2022
commit 57e1c743d282a8c8b46f9959ca5f552a2816faab
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
python -m pip install -U wheel
python -m pip install -U tox

- name: tox tests
- name: Run tests with tox
run: |
tox -e py

Expand Down
7 changes: 5 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,23 @@ repos:
rev: 22.3.0
hooks:
- id: black
name: "Format with Black"
args: [--target-version=py39]
files: "pep_sphinx_extensions/tests/.*"
files: 'pep_sphinx_extensions/tests/.*'

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
name: "Sort imports with isort"
args: [--profile=black]
files: "pep_sphinx_extensions/tests/.*"
files: 'pep_sphinx_extensions/tests/.*'

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 0.5.2
hooks:
- id: tox-ini-fmt
name: "Format tox.ini"

# RST checks
- repo: https://github.com/pre-commit/pygrep-hooks
Expand Down
0