Skip to content

Commit

Permalink
Merge pull request #31 from goerz/tox-black
Browse files Browse the repository at this point in the history
Pin tox and black
  • Loading branch information
goerz authored Apr 18, 2023
2 parents f2500fa + 7d048d8 commit a3051b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: sudo apt-get install pandoc

- name: Install Tox
run: pip install tox
run: pip install 'tox < 4.0'

- name: Run Commands
run: ${{ matrix.commands }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_version(filename):

# requirements for development (testing, generating docs)
dev_requirements = [
'black',
'black < 23.0',
'coverage',
'coveralls',
'flake8',
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[tox]
minversion = 3.14
requires =
tox<4
envlist = py37-{test,runcmd}, py38-{test,runcmd}, py39-{test,runcmd}, py310-{test,runcmd}, py311-{test,runcmd}, run-{cmd,blackcheck,black,isort,isortcheck}, docs, coverage

[testenv:.tox]
Expand Down

0 comments on commit a3051b3

Please sign in to comment.