Skip to content

Commit

Permalink
Add support of python3.8. Close #14 (#15)
Browse files Browse the repository at this point in the history
* Add support of python3.8. Close #14
  • Loading branch information
erhosen authored Jan 9, 2023
1 parent 2d894d2 commit fefd614
Show file tree
Hide file tree
Showing 5 changed files with 254 additions and 49 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ jobs:
name: test
needs: lint
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [ 3.8, 3.9, 3.10.9, 3.11 ]
steps:
- uses: actions/checkout@master
- name: Set up Python 3.9
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# IntelliJ project files
.idea
.venv

# General
.DS_Store
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.12.0
hooks:
- id: black
args: [--line-length=110, --skip-string-normalization]

- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
args: [--max-line-length=110, "--extend-ignore=E203,W503"]
Expand All @@ -18,13 +18,13 @@ repos:
args: [--profile=black, --line-length=110]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
rev: v0.991
hooks:
- id: mypy
Loading

0 comments on commit fefd614

Please sign in to comment.