Skip to content

Commit

Permalink
Reformat b/c of new version of black
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Feb 2, 2025
1 parent 35644a8 commit 29b358f
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 41 deletions.
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 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

0 comments on commit 29b358f

Please sign in to comment.