Skip to content

Commit

Permalink
Version 1.5.0 (#294)
Browse files Browse the repository at this point in the history
* Version 1.5.0

* Add 3.11 to the list

* Fix CI
  • Loading branch information
sobolevn authored May 31, 2023
1 parent 8594b7b commit c00ad35
Show file tree
Hide file tree
Showing 6 changed files with 437 additions and 687 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
We follow Semantic Versions since the `0.1.0` release.


## 1.5.0

### Features

- Drops `python3.7` support, because it has almost reached its EOL
- Adds `flake8@6` support and drops support of `flake8<5`

### Misc

- Updates many dependencies


## 1.4.0

### Features
Expand Down
9 changes: 1 addition & 8 deletions flake8_eradicate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import tokenize
from importlib import metadata as importlib_metadata
from typing import (
Any,
ClassVar,
Expand All @@ -15,20 +16,12 @@
from eradicate import Eradicator
from flake8.options.manager import OptionManager

try: # pragma: no cover
from importlib import metadata as importlib_metadata # type: ignore
except ImportError: # pragma: no cover
import importlib_metadata # type: ignore

#: This is a name that we use to install this library:
pkg_name = 'flake8-eradicate'

#: We store the version number inside the `pyproject.toml`:
pkg_version = importlib_metadata.version(pkg_name)

#: Const for `stdin` mode of `flake8`:
STDIN = 'stdin'


class Checker(object):
"""Flake8 plugin to find commented out code."""
Expand Down
Loading

0 comments on commit c00ad35

Please sign in to comment.