Skip to content

Commit

Permalink
Merge pull request #104 from jedie/flake8-bugbear
Browse files Browse the repository at this point in the history
Use "flake8-bugbear", too.
  • Loading branch information
jedie authored Nov 27, 2023
2 parents e674359 + ddeee49 commit c827492
Show file tree
Hide file tree
Showing 6 changed files with 192 additions and 184 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ See also git tags: https://github.com/jedie/manageprojects/tags

[comment]: <> (✂✂✂ auto generated history start ✂✂✂)

* [v0.15.4](https://github.com/jedie/manageprojects/compare/v0.15.3...v0.15.4)
* 2023-11-27 - Use "flake8-bugbear", too.
* [v0.15.3](https://github.com/jedie/manageprojects/compare/v0.15.2...v0.15.3)
* 2023-11-09 - Bugfix "reverse" if context contains a list
* 2023-11-07 - Update requirements
Expand All @@ -333,12 +335,12 @@ See also git tags: https://github.com/jedie/manageprojects/tags
* 2023-10-08 - Autogenerate history via https://github.com/jedie/cli-base-utilities
* 2023-09-24 - apply migrations
* 2023-09-24 - Update requirements
* [v0.15.0](https://github.com/jedie/manageprojects/compare/v0.14.1...v0.15.0)
* 2023-08-17 - Deprecate Git
* 2023-08-17 - Deprecate print_version() (moved to cli_base)

<details><summary>Expand older history entries ...</summary>

* [v0.15.0](https://github.com/jedie/manageprojects/compare/v0.14.1...v0.15.0)
* 2023-08-17 - Deprecate Git
* 2023-08-17 - Deprecate print_version() (moved to cli_base)
* [v0.14.1](https://github.com/jedie/manageprojects/compare/v0.14.0...v0.14.1)
* 2023-08-17 - apply project template updates and update requirements
* 2023-08-15 - Update requirements
Expand Down
2 changes: 1 addition & 1 deletion manageprojects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
Manage Python / Django projects
"""

__version__ = '0.15.3'
__version__ = '0.15.4'
__author__ = 'Jens Diemer <[email protected]>'
2 changes: 2 additions & 0 deletions manageprojects/test_utils/project_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def check_editor_config(package_root: Path, config_defaults=None) -> None:
warnings.warn(
f'Editor config {key!r} for files like {example_filename} is not defined!',
RuntimeWarning,
stacklevel=2,
)
else:
current_value = options[key]
Expand All @@ -120,6 +121,7 @@ def check_editor_config(package_root: Path, config_defaults=None) -> None:
f' should be {value!r} but is: {current_value!r}!'
),
RuntimeWarning,
stacklevel=2,
)

max_line_length = get_py_max_line_length(package_root)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies = [
"pyflakes", # https://github.com/PyCQA/pyflakes
"autopep8", # https://github.com/hhatto/autopep8
"flake8", # https://github.com/pycqa/flake8
"flake8-bugbear", # https://github.com/PyCQA/flake8-bugbear
"pyupgrade", # https://github.com/asottile/pyupgrade
"codespell", # https://github.com/codespell-project/codespell
"mypy", # https://github.com/python/mypy
Expand Down
Loading

0 comments on commit c827492

Please sign in to comment.