Skip to content

Commit

Permalink
v24.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed Apr 11, 2024
1 parent 2b68399 commit 1196bb9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

**24.4.4 (2024-04-11)**
* Updated ruff configuration

**24.4.3 (2024-04-11)**
* Linting fixes 😎

Expand Down
2 changes: 1 addition & 1 deletion ambient_package_update/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Ambient package update tool for clean and swift maintenance"""

__version__ = "24.4.3"
__version__ = "24.4.4"
8 changes: 4 additions & 4 deletions ambient_package_update/templates/pyproject.toml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ name = "{{ package_name }}"
'Changelog' = 'https://{{ package_name|replace("_", "-") }}.readthedocs.io/en/latest/features/changelog.html'

[tool.ruff]
select = [
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
Expand All @@ -67,12 +67,12 @@ select = [
"PGH", # No all-purpose "# noqa" and eval validation
"PL", # PyLint
]
ignore = [{% for ruff_ignore in ruff_ignore_list %}
lint.ignore = [{% for ruff_ignore in ruff_ignore_list %}
'{{ ruff_ignore.key }}', # {{ ruff_ignore.comment }}{% endfor %}
]

# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = [
lint.fixable = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
Expand All @@ -94,7 +94,7 @@ fixable = [
"PGH", # No all-purpose "# noqa" and eval validation
"PL", # PyLint
]
unfixable = []
lint.unfixable = []

exclude = [
".bzr",
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dev = [
'Changelog' = 'https://github.com/ambient-innovation/ambient-package-update/blob/master/CHANGES.md'

[tool.ruff]
select = [
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
Expand All @@ -70,14 +70,14 @@ select = [
"PGH", # No all-purpose "# noqa" and eval validation
"PL", # PyLint
]
ignore = [
lint.ignore = [
'N999', # Project name contains underscore, not fixable
'A003', # Django attributes shadow python builtins
'DJ001', # Django model text-based fields shouldn't be nullable
]

# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = [
lint.fixable = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
Expand All @@ -99,7 +99,7 @@ fixable = [
"PGH", # No all-purpose "# noqa" and eval validation
"PL", # PyLint
]
unfixable = []
lint.unfixable = []

exclude = [
".bzr",
Expand Down

0 comments on commit 1196bb9

Please sign in to comment.