diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 91e9913..06c1a9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [windows-latest, macos-latest, ubuntu-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/README.rst b/README.rst index bc579f3..72f8205 100644 --- a/README.rst +++ b/README.rst @@ -68,7 +68,7 @@ you will *not* get an additional ``BLK`` error. Installation ------------ -Python 3.7 or later is required, but ``black`` can be used on Python code +Python 3.8 or later is required, but ``black`` can be used on Python code written for older versions of Python. You can install ``flake8-black`` using ``pip``, which should install ``flake8`` @@ -162,6 +162,7 @@ Version History ======= ============ =========================================================== Version Release date Changes ------- ------------ ----------------------------------------------------------- +v0.3.7 *Pending* - Now tested on Python 3.8 though 3.12. v0.3.6 2022-12-13 - Use standard library ``tomllib`` on Python 3.11 onwards, contribution from `Ganden Schaffner `_. diff --git a/flake8_black.py b/flake8_black.py index 4f43c68..5a4aece 100644 --- a/flake8_black.py +++ b/flake8_black.py @@ -19,7 +19,7 @@ from flake8 import LOG -__version__ = "0.3.6" +__version__ = "0.3.7" black_prefix = "BLK" diff --git a/pyproject.toml b/pyproject.toml index 64a3b0c..e848385 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only' ] -requires-python = '>=3.7' +requires-python = '>=3.8' dependencies = [ 'flake8>=3', 'black>=22.1.0', diff --git a/requirements.txt b/requirements.txt index 5851f03..014f8f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ # Our prefix is not single letter, so we need v3: flake8 >= 3.0.0 -# We need black, which in turn needs Python 3.6+ -black +# We need black +black >= 22.1.0 tomli ; python_version < "3.11"