Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
strategy:
matrix:
os: [macos-latest, ubuntu-20.04]
python-version: [3.8, 3.11, pypy-3.8, pypy-3.10]
os: [macos-latest, ubuntu-latest]
python-version: ['3.11', 'pypy-3.8', 'pypy-3.10']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup Python environment
uses: actions/setup-python@v2.2.1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
Expand All @@ -33,7 +33,7 @@ jobs:
run: |
pytest
- name: Run MyPy
if: matrix.python-version != 'pypy-3.7'
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
run: |
pip install enum34 mypy types-six
./mypy-run.sh
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
Coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.11'
- name: Setup virtual environment
run: |
python -m venv venv
Expand All @@ -31,6 +31,6 @@ jobs:
coverage run --rcfile=.coveragerc -m pytest
coverage xml
- name: Publish Coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
flags: unit
2 changes: 1 addition & 1 deletion stone/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class to be recognized as such.
tabs_for_indents = False

# Can be overridden with an argparse.ArgumentParser object.
cmdline_parser = None # type: argparse.ArgumentParser
cmdline_parser = None # type: typing.Optional[argparse.ArgumentParser]

# Can be overridden by a subclass. If true, stone.data_type.Alias
# objects will be present in the API object. If false, aliases are masked
Expand Down
Loading