Skip to content

Commit

Permalink
Updated files with 'repo_helper'. (#26)
Browse files Browse the repository at this point in the history
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
  • Loading branch information
repo-helper[bot] authored Nov 8, 2022
1 parent f0d70da commit 1c82c86
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 29 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Check for changed files
uses: dorny/paths-filter@v2
Expand All @@ -33,9 +33,9 @@ jobs:
- name: Setup Python 🐍
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: "3.6"
python-version: "3.8"

- name: Install dependencies 🔧
if: steps.changes.outputs.code == 'true'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Check for changed files
uses: dorny/paths-filter@v2
Expand All @@ -38,9 +38,9 @@ jobs:
- name: Setup Python 🐍
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: "3.6"
python-version: "3.8"

- name: Install dependencies 🔧
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6'
USING_COVERAGE: '3.8'

strategy:
fail-fast: False
matrix:
config:
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Setup Python 🐍
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.config.python-version }}"

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6'
USING_COVERAGE: '3.8'

strategy:
fail-fast: False
matrix:
config:
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Setup Python 🐍
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.config.python-version }}"

Expand All @@ -72,11 +72,11 @@ jobs:
runs-on: "ubuntu-20.04"
steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"
if: startsWith(github.ref, 'refs/tags/')

- name: Setup Python 🐍
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
if: startsWith(github.ref, 'refs/tags/')
with:
python-version: 3.8
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ jobs:
runs-on: "macos-latest"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6'
USING_COVERAGE: '3.8'

strategy:
fail-fast: False
matrix:
config:
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}

steps:
- name: Checkout 🛎️
uses: "actions/checkout@v2"
uses: "actions/checkout@v3"

- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Setup Python 🐍
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v2"
uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.config.python-version }}"

Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

exclude: ^$

ci:
autoupdate_schedule: quarterly

repos:
- repo: https://github.com/repo-helper/pyproject-parser
rev: v0.7.0
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ Homepage = "https://github.com/repo-helper/appdirs-stubs"

[tool.whey]
base-classifiers = []
python-versions = [ "3.6",]
python-versions = [ "3.8",]
python-implementations = [ "CPython",]
platforms = [ "Windows", "macOS", "Linux",]
license-key = "MIT"
package = "appdirs-stubs"

[tool.mypy]
python_version = "3.6"
python_version = "3.8"
namespace_packages = true
check_untyped_defs = true
warn_unused_ignores = true
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# * pytest

[tox]
envlist = py36, mypy, build
envlist = py38, mypy, build
skip_missing_interpreters = True
isolated_build = True
requires =
Expand All @@ -23,7 +23,7 @@ requires =
virtualenv!=20.16.0

[envlists]
test = py36
test = py38
qa = mypy, lint

[testenv]
Expand All @@ -46,7 +46,7 @@ commands =
check-wheel-contents dist/

[testenv:lint]
basepython = python3.6
basepython = python3.8
changedir = {toxinidir}
ignore_errors = True
skip_install = True
Expand Down Expand Up @@ -76,22 +76,22 @@ deps =
commands = python3 -m flake8_rst_docstrings_sphinx appdirs-stubs --allow-toolbox {posargs}

[testenv:perflint]
basepython = python3.6
basepython = python3.8
changedir = {toxinidir}
ignore_errors = True
skip_install = True
deps = perflint
commands = python3 -m perflint appdirs {posargs}

[testenv:mypy]
basepython = python3.6
basepython = python3.8
ignore_errors = True
changedir = {toxinidir}
deps = mypy==0.902
commands = stubtest appdirs {posargs}

[testenv:pyup]
basepython = python3.6
basepython = python3.8
skip_install = True
ignore_errors = True
changedir = {toxinidir}
Expand All @@ -117,7 +117,7 @@ inline-quotes = "
multiline-quotes = """
docstring-quotes = """
count = True
min_python_version = 3.6.1
min_python_version = 3.8
unused-arguments-ignore-abstract-functions = True
unused-arguments-ignore-overload-functions = True
unused-arguments-ignore-magic-methods = True
Expand Down

0 comments on commit 1c82c86

Please sign in to comment.