Skip to content

Commit

Permalink
Merge pull request #114 from ariebovenberg/strict-imports-fix
Browse files Browse the repository at this point in the history
release 0.16: fix issues with strict-imports, add py311 support and drop py36
  • Loading branch information
ariebovenberg committed Oct 31, 2022
2 parents ceeafee + c9b5c09 commit f376ca7
Show file tree
Hide file tree
Showing 12 changed files with 320 additions and 314 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v1
Expand All @@ -30,7 +30,7 @@ jobs:
run: tox

- name: Upload coverage to Codecov
if: matrix.python-version == 3.9
if: matrix.python-version == 3.10
uses: codecov/codecov-action@v2.1.0
with:
file: ./coverage.xml
20 changes: 20 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
Changelog
=========

0.16.0 (2022-11-01)
-------------------

**Breaking changes**

- The "strict-imports" default value was mistakenly ``False`` in contrast to what is documented.
The default value is now ``True``, in line with documentation.
If you were relying on this permissive import behavior,
you will need to set this option in the CLI or settings file.
- Drop Python 3.6 support

**Bugfixes**

- Disabling "strict-imports" now also gracefully handles failed imports
of the root module given (#113).

**Features**

- Add official Python 3.11 support

0.15.0 (2022-08-09)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Use the following configuration:
repos:
- repo: https://github.com/ariebovenberg/slotscheck
rev: v0.15.0
rev: v0.16.0
hooks:
- id: slotscheck
# If your Python files are not importable from the project root,
Expand Down
Loading

0 comments on commit f376ca7

Please sign in to comment.