Skip to content

Commit

Permalink
rm python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
WiredNerd committed Nov 6, 2023
1 parent dd93ca2 commit 656e3d6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- requirements.txt
- src/**
- tests/**
- .github/workflows/python-test-scan.yml
- .github/workflows/python-test-matrix.yml
pull_request:
paths:
- requirements.txt
Expand All @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
py: ['3.8','3.9','3.10','3.11']
py: ['3.9','3.10','3.11','3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-test-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,14 @@ jobs:
run: |
pip install -r requirements.txt --upgrade
pip install mypy --upgrade
- run: mypy src tests --python-version 3.8
- run: mypy src tests --python-version 3.9
if: ${{ always() }}
- run: mypy src tests --python-version 3.10
if: ${{ always() }}
- run: mypy src tests --python-version 3.11
if: ${{ always() }}
- run: mypy src tests --python-version 3.12
if: ${{ always() }}
ruff:
name: Linter Checks with Ruff
runs-on: [ubuntu-latest]
Expand Down
9 changes: 9 additions & 0 deletions notes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@
"* create_report(report: PoodleReport, poodle_config: dict)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"ast.unparse was added in 3.9\n",
"\n",
"If requested, could add library astunparse-fixed to unparse 3.8"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ keywords = [
authors = [{ name = "WiredNerd", email = "pbuschmail-poodle@yahoo.com" }]
maintainers = [{ name = "WiredNerd", email = "pbuschmail-poodle@yahoo.com" }]
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down Expand Up @@ -59,20 +59,20 @@ exclude_also = ["import .*", "from .* import .*", "if TYPE_CHECKING:"]

[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310', 'py311']
target-version = ['py39', 'py310', 'py311']
color = true

[tool.isort]
profile = 'black'
line_length = 120
py_version = 38
py_version = 39

[tool.mypy]
files = "poodle"
mypy_path = "src,tests"

[tool.ruff]
target-version = "py38"
target-version = "py39"
show-source = true
select = ["ALL"]
ignore = [
Expand Down

0 comments on commit 656e3d6

Please sign in to comment.