Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump black from 24.10.0 to 25.1.0 #3895

Merged
merged 3 commits into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: psf/black@24.10.0
- uses: psf/black@25.1.0

eslint:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions kiwi_lint/datetime.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Warns against usage of datetime.now() which may not be fully timezone
safe. Instead we should use django.utils.timezone.now() which acts
according to settings!
Warns against usage of datetime.now() which may not be fully timezone
safe. Instead we should use django.utils.timezone.now() which acts
according to settings!
"""

from astroid import nodes
Expand Down
2 changes: 1 addition & 1 deletion kiwi_lint/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""function_based_views.py provides a pylint checker FunctionBasedViewChecker that warns
against using function based views in Django.
against using function based views in Django.
"""

import os
Expand Down
2 changes: 1 addition & 1 deletion requirements/devel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ tcms-api
doc8
isort==5.13.2
colorama
black==24.10.0
black==25.1.0
locust
locust-plugins[playwright]
parameterized
Expand Down
2 changes: 1 addition & 1 deletion tcms/core/templatetags/extra_filters.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Custom template tag filters.
Custom template tag filters.
"""

from importlib import import_module
Expand Down
60 changes: 30 additions & 30 deletions tcms/issuetracker/__init__.py
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
"""
Kiwi TCMS supports internal bug tracking functionality and
integration between external bug trackers and the rest of the system.
The integration interface is defined in :mod:`tcms.issuetracker.base`
and can be overridden in subsequent implementations if desired.
Kiwi TCMS supports internal bug tracking functionality and
integration between external bug trackers and the rest of the system.
The integration interface is defined in :mod:`tcms.issuetracker.base`
and can be overridden in subsequent implementations if desired.
The current scope is:
The current scope is:
- *1-click bug report* - by clicking a UI element inside TestExecution
Kiwi TCMS will try to automatically report a new bug in the selected
bug tracker. If this fails will fall back to opening a new browser
window to manually enter the required information. Fields will be
pre-filled with correct information when possible.
- *1-click bug report* - by clicking a UI element inside TestExecution
Kiwi TCMS will try to automatically report a new bug in the selected
bug tracker. If this fails will fall back to opening a new browser
window to manually enter the required information. Fields will be
pre-filled with correct information when possible.
- *automatic bug update* - when linking existing bug reports to TestExecution
the bug report will be "linked" back to the TE. By default this is achieved
by adding a comment to the bug report.
- *automatic bug update* - when linking existing bug reports to TestExecution
the bug report will be "linked" back to the TE. By default this is achieved
by adding a comment to the bug report.
- *show bug info* - on pages which display bugs the tester could
see more contextual information by hovering the mouse over an info
icon. A tooltip will appear. Default implementation is to display
OpenGraph Protocol data for that URL. Information is cached.
- *show bug info* - on pages which display bugs the tester could
see more contextual information by hovering the mouse over an info
icon. A tooltip will appear. Default implementation is to display
OpenGraph Protocol data for that URL. Information is cached.
.. important::
.. important::
Kiwi TCMS' own internal bug tracker is a light-weight solution for small
teams. You can disable it by defining ``KIWI_DISABLE_BUGTRACKER=yes``
in your environment variables!
Kiwi TCMS' own internal bug tracker is a light-weight solution for small
teams. You can disable it by defining ``KIWI_DISABLE_BUGTRACKER=yes``
in your environment variables!
.. important::
.. important::
Integration details for supported bug trackers can be found at
:mod:`tcms.issuetracker.types`!
Additional integrations are provided via add-ons. For more information
see :mod:`trackers_integration.issuetracker`!
Integration details for supported bug trackers can be found at
:mod:`tcms.issuetracker.types`!
Additional integrations are provided via add-ons. For more information
see :mod:`trackers_integration.issuetracker`!
.. important::
.. important::
Most integrations expect product names in Kiwi TCMS to match product names
in the external issue tracker database. See individual documentation for
specifics.
Most integrations expect product names in Kiwi TCMS to match product names
in the external issue tracker database. See individual documentation for
specifics.
"""
2 changes: 1 addition & 1 deletion tcms/issuetracker/kiwitcms.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Licensed under the GPL 2.0: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

"""
This module implements integration with Kiwi TCMS own bug tracking system!
This module implements integration with Kiwi TCMS own bug tracking system!
"""

from django.template.loader import render_to_string
Expand Down
4 changes: 2 additions & 2 deletions tcms/issuetracker/types.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
This module implements Kiwi TCMS interface to external issue tracking systems.
Refer to each implementor class for integration specifics!
This module implements Kiwi TCMS interface to external issue tracking systems.
Refer to each implementor class for integration specifics!
"""

from urllib.parse import urlencode, urlparse
Expand Down
2 changes: 1 addition & 1 deletion tcms/settings/devel.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pylint: disable=wildcard-import, unused-wildcard-import
"""
Django settings for devel env.
Django settings for devel env.
"""

import os
Expand Down
2 changes: 1 addition & 1 deletion tcms/settings/product.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: disable=wildcard-import, unused-wildcard-import

"""
Django settings for product env.
Django settings for product env.
"""

import os
Expand Down
2 changes: 1 addition & 1 deletion tests/set_testadmin_pass.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Allow testadmin to log in by setting its password
Allow testadmin to log in by setting its password
"""

from django.contrib.auth.models import User
Expand Down
Loading