Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add python 3.11 support #290

Merged
merged 3 commits into from
Jan 6, 2023
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
5 changes: 4 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']

steps:

Expand All @@ -29,6 +29,9 @@ jobs:

- name: Run syntax checker using Tox
run: tox -e lint
# Skip linting on EOL Python version because the pre-commit actions
# required supported versions.
if: ${{ matrix.python != '3.6' }}

- name: Run Tox
# Run tox using the version of Python in `PATH`
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
- '--skip="./.git*,./saltlint/rules/FileManagedReplaceContentRule.py"'
- '-L alse'
- repo: https://github.com/PyCQA/pylint.git
rev: v2.9.5
rev: v2.15.9
hooks:
- id: pylint
exclude: ^docs/
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
### Added
- Rule 219 for catching missing over-indentation of nested dicts ([#284](https://github.com/warpnet/salt-lint/pull/284)).
- Add Python 3.11 support.

## [0.8.0] (2021-11-09)
### Fixed
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def long_description():
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Bug Tracking',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# install tox" and then run "tox" from this directory.

[tox]
envlist = lint,{py36,py37,py38,py39,py310}-install,mypy
envlist = lint,{py36,py37,py38,py39,py310,py311}-install,mypy
skip_missing_interpreters = True

[testenv]
Expand Down Expand Up @@ -47,6 +47,10 @@ commands = {[testenv:install]commands}
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}

[testenv:py311-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}

[testenv:lint]
description = Run all linters
basepython = python3
Expand Down