Skip to content

Commit

Permalink
Version bump to 0.3.7, drop Python 3.7 support (EOL)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Nov 7, 2023
1 parent 8abe1ae commit c9407f7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 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:
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 }}
Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down Expand Up @@ -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 <https://github.com/gschaffner>`_.
Expand Down
2 changes: 1 addition & 1 deletion flake8_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from flake8 import LOG


__version__ = "0.3.6"
__version__ = "0.3.7"

black_prefix = "BLK"

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c9407f7

Please sign in to comment.