Skip to content

Commit

Permalink
Update all minor versions (minor) (#369)
Browse files Browse the repository at this point in the history
* Update all minor versions

* Add Ruff

* Apply pre-commit fix

From the artifact of the previous workflow run

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stéphane Brunner <[email protected]>
Co-authored-by: geo-ghci-int[bot] <146321879+geo-ghci-int[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 2, 2024
1 parent a905a7a commit 8f12d53
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 22 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,12 @@ repos:
hooks:
- id: prospector
args:
- --tool=pydocstyle
- --tool=ruff
- --die-on-tool-error
additional_dependencies:
- prospector-profile-duplicated==1.8.0 # pypi
- prospector-profile-utils==1.12.2 # pypi
- ruff==0.8.1 # pypi
- repo: https://github.com/sbrunner/jsonschema-validator
rev: 0.3.2
hooks:
Expand Down
7 changes: 3 additions & 4 deletions bashcolor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
A simple module to colorize text in the terminal.
"""A simple module to colorize text in the terminal.
This module provides a simple way to colorize text in the terminal.
"""
Expand Down Expand Up @@ -51,8 +50,7 @@ def colorize(
background_256: Optional[int] = None,
with_end: bool = True,
) -> str:
"""
Colorize a text.
"""Colorize a text.
Arguments:
---------
Expand All @@ -63,6 +61,7 @@ def colorize(
color_256: The 256 text color code, use print_colors to get the possible values
background_256: The 256 background color code, use print_colors to get the possible values
with_end: Set to False to don't add the end tag
"""
if effects is None:
effects = []
Expand Down
59 changes: 45 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ print_colors = "bashcolor:print_colors"
python = ">=3.9,<3.13"

[tool.poetry.group.dev.dependencies]
prospector = { version = "1.12.1", extras = ["with_bandit", "with_mypy", "with_pyroma"] }
prospector-profile-duplicated = "1.6.0"
prospector-profile-utils = "1.9.1"
prospector = { version = "1.13.3", extras = ["with_bandit", "with_mypy", "with_pyroma", "with_ruff"] }
prospector-profile-duplicated = "1.8.0"
prospector-profile-utils = "1.13.0"

[build-system]
requires = ["poetry-core>=1.0.0", "poetry-plugin-tweak-dependencies-version", "poetry-dynamic-versioning", "poetry-plugin-drop-python-upper-constraint"]
Expand Down

0 comments on commit 8f12d53

Please sign in to comment.