Skip to content

Commit

Permalink
release new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Jan 26, 2024
1 parent 88590db commit 692a429
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 30 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
*`shed` uses [calendar versioning](https://calver.org/), with a year.month.patch scheme.*

#### 2024.1.1 - 2024-01-26
- Require `black >= 24.1.0`, with their [updated code style](https://black.readthedocs.io/en/stable/change_log.html)

#### 2023.6.1 - 2023-06-29
- [Python 3.7 has reached end-of-life](https://devguide.python.org/versions/),
so `shed` targets and runs on Python 3.8 or later.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ adding the following to your `.pre-commit-config.yaml`:
minimum_pre_commit_version: '2.9.0'
repos:
- repo: https://github.com/Zac-HD/shed
rev: 2023.6.1
rev: 2024.1.1
hooks:
- id: shed
# args: [--refactor, --py311-plus]
Expand Down
22 changes: 11 additions & 11 deletions deps/check.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
astor==0.8.1
# via flake8-simplify
attrs==23.1.0
attrs==23.2.0
# via flake8-bugbear
autoflake==2.2.1
# via shed (setup.py)
Expand All @@ -16,7 +16,7 @@ click==8.1.7
# via black
com2ann==0.3.0
# via shed (setup.py)
flake8==6.1.0
flake8==7.0.0
# via
# -r deps/check.in
# flake8-2020
Expand All @@ -32,9 +32,9 @@ flake8==6.1.0
# pep8-naming
flake8-2020==1.8.1
# via -r deps/check.in
flake8-bugbear==23.9.16
flake8-bugbear==24.1.17
# via -r deps/check.in
flake8-builtins==2.1.0
flake8-builtins==2.2.0
# via -r deps/check.in
flake8-comprehensions==3.14.0
# via -r deps/check.in
Expand All @@ -44,19 +44,19 @@ flake8-docstrings==1.7.0
# via -r deps/check.in
flake8-mutable==1.2.0
# via -r deps/check.in
flake8-noqa==1.3.2
flake8-noqa==1.4.0
# via -r deps/check.in
flake8-print==5.0.0
# via -r deps/check.in
flake8-simplify==0.21.0
# via -r deps/check.in
isort==5.12.0
isort==5.13.2
# via shed (setup.py)
libcst==1.1.0
# via shed (setup.py)
mccabe==0.7.0
# via flake8
mypy==1.6.0
mypy==1.8.0
# via -r deps/check.in
mypy-extensions==1.0.0
# via
Expand All @@ -65,19 +65,19 @@ mypy-extensions==1.0.0
# typing-inspect
packaging==23.2
# via black
pathspec==0.11.2
pathspec==0.12.1
# via black
pep8-naming==0.13.3
# via -r deps/check.in
platformdirs==3.11.0
platformdirs==4.1.0
# via black
pycodestyle==2.11.1
# via
# flake8
# flake8-print
pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.1.0
pyflakes==3.2.0
# via
# autoflake
# flake8
Expand All @@ -94,7 +94,7 @@ tomli==2.0.1
# autoflake
# black
# mypy
typing-extensions==4.8.0
typing-extensions==4.9.0
# via
# black
# flake8-noqa
Expand Down
34 changes: 18 additions & 16 deletions deps/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# pip-compile --output-file=deps/test.txt deps/test.in setup.py
#
attrs==23.1.0
attrs==23.2.0
# via hypothesis
autoflake==2.2.1
# via shed (setup.py)
Expand All @@ -14,29 +14,31 @@ click==8.1.7
# via black
com2ann==0.3.0
# via shed (setup.py)
coverage[toml]==7.3.2
# via pytest-cov
exceptiongroup==1.1.3
coverage[toml]==7.4.1
# via
# coverage
# pytest-cov
exceptiongroup==1.2.0
# via
# hypothesis
# pytest
execnet==2.0.2
# via pytest-xdist
flake8==6.1.0
flake8==7.0.0
# via flake8-comprehensions
flake8-comprehensions==3.14.0
# via -r deps/test.in
hypothesis[lark]==6.87.4
hypothesis[lark]==6.97.0
# via
# -r deps/test.in
# hypothesmith
hypothesmith==0.3.0
hypothesmith==0.3.2
# via -r deps/test.in
iniconfig==2.0.0
# via pytest
isort==5.12.0
isort==5.13.2
# via shed (setup.py)
lark==1.1.7
lark==1.1.9
# via hypothesis
libcst==1.1.0
# via
Expand All @@ -52,26 +54,26 @@ packaging==23.2
# via
# black
# pytest
pathspec==0.11.2
pathspec==0.12.1
# via black
platformdirs==3.11.0
platformdirs==4.1.0
# via black
pluggy==1.3.0
pluggy==1.4.0
# via pytest
pycodestyle==2.11.1
# via flake8
pyflakes==3.1.0
pyflakes==3.2.0
# via
# autoflake
# flake8
pytest==7.4.2
pytest==7.4.4
# via
# -r deps/test.in
# pytest-cov
# pytest-xdist
pytest-cov==4.1.0
# via -r deps/test.in
pytest-xdist==3.3.1
pytest-xdist==3.5.0
# via -r deps/test.in
pyupgrade==3.15.0
# via shed (setup.py)
Expand All @@ -87,7 +89,7 @@ tomli==2.0.1
# black
# coverage
# pytest
typing-extensions==4.8.0
typing-extensions==4.9.0
# via
# black
# libcst
Expand Down
2 changes: 1 addition & 1 deletion src/shed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from black.parsing import lib2to3_parse
from isort.exceptions import FileSkipComment

__version__ = "2023.6.1"
__version__ = "2024.1.1"
__all__ = ["shed", "docshed"]

# Conditionally imported in refactor mode to reduce startup latency in the common case
Expand Down
2 changes: 1 addition & 1 deletion src/shed/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def _rewrite_on_disk(
if "SHED_RAISE" in os.environ:
raise
return (
f"Internal error formatting {fname!r}: {type(err).__name__}: {err}\n"
f"Skipping {fname!r} due to an internal error: {type(err).__name__}: {err}\n"
" Please report this to https://github.com/Zac-HD/shed/issues"
)
else:
Expand Down

0 comments on commit 692a429

Please sign in to comment.