Skip to content

Commit

Permalink
drop python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Dec 13, 2022
1 parent 2469ca3 commit 5b9e800
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 52 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/main.yml
Expand Up @@ -12,34 +12,22 @@ jobs:
matrix:
include:
# linux
- os: ubuntu-latest
python: 3.6
toxenv: py
- os: ubuntu-latest
python: 3.7
toxenv: py
- os: ubuntu-latest
python: 3.8
toxenv: py
- os: ubuntu-latest
python: 3.9
toxenv: py
- os: ubuntu-latest
python: '3.10.0'
toxenv: py
python: '3.10'
# windows
- os: windows-latest
python: 3.6
toxenv: py
# misc
- os: ubuntu-latest
python: 3.9
toxenv: pre-commit
python: 3.7
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: python -mpip install --upgrade setuptools pip tox virtualenv
- run: tox -e ${{ matrix.toxenv }}
- run: tox -e py
30 changes: 0 additions & 30 deletions .gitlab-ci.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Expand Up @@ -11,7 +11,7 @@ repos:
rev: v3.9.0
hooks:
- id: reorder-python-imports
args: [--application-directories, '.:src', --py36-plus]
args: [--application-directories, '.:src', --py37-plus]
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
Expand All @@ -21,9 +21,9 @@ repos:
rev: v3.3.0
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py37-plus]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.2.0
hooks:
- id: setup-cfg-fmt
args: [--min-py3-version, '3.6']
args: [--min-py3-version, '3.7']
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -27,7 +27,7 @@ py_modules = flake8_docstrings
install_requires =
flake8>=3
pydocstyle>=2.1
python_requires = >=3.6
python_requires = >=3.7

[options.entry_points]
flake8.extension =
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = pre-commit,py36,py37,py38,py39,py310
envlist = pre-commit,py

[testenv]
deps =
Expand Down

0 comments on commit 5b9e800

Please sign in to comment.