Skip to content

Commit

Permalink
drop python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
arkinmodi committed May 8, 2023
1 parent 31beaef commit 7e070a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
autopep8 \
flake8 \
mypy \
pyupgrade
pyupgrade \
reorder-python-imports \
- run: python -m autopep8 --exit-code --aggressive --aggressive --in-place $(git ls-files -- '*.py')
- run: python -m flake8 $(git ls-files -- '*.py')
- run: python -m mypy --ignore-missing-imports --scripts-are-modules $(git ls-files -- '*.py')
- run: python -m pyupgrade --py37-plus $(git ls-files -- '*.py')
- run: add-trailing-comma --py36-plus $(git ls-files -- '*.py'
- run: python -m pyupgrade --py38-plus $(git ls-files -- '*.py')
- run: add-trailing-comma --py36-plus $(git ls-files -- '*.py')
- run: reorder-python-imports --py37-plus $(git ls-files -- '*.py')
6 changes: 2 additions & 4 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Test Application
on:
pull_request:
Expand All @@ -10,12 +9,12 @@ on:

jobs:
tox:
name: 🧪 Tox / ${{ matrix.env }}
name: 🧪 ${{ matrix.env }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
env: ['py37', 'py38', 'py39', 'py310', 'py311']
env: ['py38', 'py39', 'py310', 'py311']
steps:
- name: 🛎 Checkout
uses: actions/checkout@v3
Expand All @@ -25,7 +24,6 @@ jobs:
with:
python-version: |
${{
matrix.env == 'py37' && '3.7' ||
matrix.env == 'py38' && '3.8' ||
matrix.env == 'py39' && '3.9' ||
matrix.env == 'py310' && '3.10' ||
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
.env*
build
dist
venv
venv*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ classifiers = [
"Topic :: Software Development",
"Topic :: Utilities",
]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"python-dotenv>=0.8.0"
]
Expand Down

0 comments on commit 7e070a5

Please sign in to comment.