Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.7', '3.8', '3.9']

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ platforms = unix, linux, osx, cygwin, win32
classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Expand All @@ -18,7 +17,7 @@ packages =
slapping
install_requires =
requests>=2
python_requires = >=3.6
python_requires = >=3.7
package_dir =
=src
zip_safe = no
Expand Down
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[tox]
minversion = 3.8.0
envlist = py36, py37, py38, py39, flake8, mypy
envlist = py37, py38, py39, flake8, mypy
isolated_build = true

[gh-actions]
python =
3.6: py36, mypy, flake8
3.7: py37
3.7: py37, mypy, flake8
3.8: py38
3.9: py39

Expand All @@ -19,12 +18,12 @@ commands =
pytest --basetemp={envtmpdir}

[testenv:flake8]
basepython = python3.6
basepython = python3.7
deps = flake8
commands = flake8 src tests

[testenv:mypy]
basepython = python3.6
basepython = python3.7
deps =
-r{toxinidir}/requirements_dev.txt
commands = mypy src
Expand Down