Skip to content

Commit 5057b4b

Browse files
⬆️ Bump ruff from 0.14.10 to 0.14.11 (#14066)
1 parent 52ba742 commit 5057b4b

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

dojo/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
from .celery import app as celery_app # noqa: F401
66

77
__version__ = "2.54.1"
8-
__url__ = "https://github.com/DefectDojo/django-DefectDojo"
9-
__docs__ = "https://documentation.defectdojo.com"
8+
__url__ = "https://github.com/DefectDojo/django-DefectDojo" # noqa: RUF067
9+
__docs__ = "https://documentation.defectdojo.com" # noqa: RUF067

dojo/request_cache/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
# the code has been copied to DefectDojo, to be able to fix issues ourselves.
66

77

8-
def get_request_cache():
8+
def get_request_cache(): # noqa: RUF067
99
"""
1010
Return the current requests cache
1111
:return:
1212
"""
1313
return getattr(get_current_request(), "cache", None)
1414

1515

16-
cache_args_kwargs_marker = object() # marker for separating args from kwargs (needs to be global)
16+
cache_args_kwargs_marker = object() # noqa: RUF067 marker for separating args from kwargs (needs to be global)
1717

1818

19-
def cache_calculate_key(*args, **kwargs):
19+
def cache_calculate_key(*args, **kwargs): # noqa: RUF067
2020
"""
2121
Calculate the cache key of a function call with args and kwargs
2222
Taken from lru_cache
@@ -31,7 +31,7 @@ def cache_calculate_key(*args, **kwargs):
3131
return str(key)
3232

3333

34-
def cache_for_request(fn):
34+
def cache_for_request(fn): # noqa: RUF067
3535
"""
3636
Decorator that allows to cache a function call with parameters and its result only for the current request
3737
The result is stored in the memory of the current process

dojo/tools/aws_prowler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
__author__ = "Aaron Weaver"
2-
__contributor__ = "Daniel Loureiro - https://dkade.com"
2+
__contributor__ = "Daniel Loureiro - https://dkade.com" # noqa: RUF067

dojo/tools/reversinglabs_spectraassure/rlJsonInfo/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from .cve_info_node import CveInfoNode
99

10-
logger = logging.getLogger(__name__)
10+
logger = logging.getLogger(__name__) # noqa: RUF067
1111

1212
"""
1313
# rl-json report
@@ -169,7 +169,7 @@
169169
"""
170170

171171

172-
class RlJsonInfo:
172+
class RlJsonInfo: # noqa: RUF067
173173

174174
SCAN_TOOL_NAME: str = "ReversingLabs SpectraAssure"
175175

requirements-lint.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruff==0.14.10
1+
ruff==0.14.11

0 commit comments

Comments
 (0)