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

Update dependency black to v25 #1880

Merged
merged 2 commits into from
Jan 30, 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 anitya/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

""" Module anitya """
"""Module anitya"""
from importlib import metadata

__api_version__ = "1.2"
Expand Down
2 changes: 1 addition & 1 deletion anitya/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

""" Module anitya.admin """
"""Module anitya.admin"""
import logging
from math import ceil

Expand Down
2 changes: 1 addition & 1 deletion anitya/forms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

""" Forms used in anitya. """
"""Forms used in anitya."""

from wtforms import BooleanField, SelectField, StringField, TextAreaField, validators

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/bitbucket.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2015-2016 - Copyright Vivek Anand
(c) 2015-2016 - Copyright Vivek Anand

Authors:
Vivek Anand <[email protected]>
Authors:
Vivek Anand <[email protected]>

"""

Expand Down
8 changes: 4 additions & 4 deletions anitya/lib/backends/cpan.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2016 - Copyright Red Hat Inc
(c) 2014-2016 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/custom.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/debian.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/drupal6.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2016 - Copyright Red Hat Inc
(c) 2014-2016 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/drupal7.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2016 - Copyright Red Hat Inc
(c) 2014-2016 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/folder.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/freshmeat.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
8 changes: 4 additions & 4 deletions anitya/lib/backends/github.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2020 - Copyright Red Hat Inc
(c) 2014-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Michal Konecny <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Michal Konecny <[email protected]>

"""

Expand Down
4 changes: 2 additions & 2 deletions anitya/lib/backends/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# of Red Hat, Inc.
#
"""
Authors:
Michal Konecny <[email protected]>
Authors:
Michal Konecny <[email protected]>

"""

Expand Down
8 changes: 4 additions & 4 deletions anitya/lib/backends/gnome.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2020 - Copyright Red Hat Inc
(c) 2014-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Michal Konecny <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Michal Konecny <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/gnu.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/hackage.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/launchpad.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/maven.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Michael Simacek <[email protected]>
Authors:
Michael Simacek <[email protected]>

"""

Expand Down
8 changes: 4 additions & 4 deletions anitya/lib/backends/npmjs.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2020 - Copyright Red Hat Inc
(c) 2014-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>

"""

Expand Down
8 changes: 4 additions & 4 deletions anitya/lib/backends/packagist.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2020 - Copyright Red Hat Inc
(c) 2014-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Michal Konecny <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Michal Konecny <[email protected]>

"""

Expand Down
8 changes: 4 additions & 4 deletions anitya/lib/backends/pagure.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-

"""
(c) 2015-2020 - Copyright Red Hat Inc
(c) 2015-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Michal Konecny <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Michal Konecny <[email protected]>

"""

Expand Down
10 changes: 5 additions & 5 deletions anitya/lib/backends/pear.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2020 - Copyright Red Hat Inc
(c) 2014-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Michal Konecny <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Michal Konecny <[email protected]>

"""

Expand Down
8 changes: 4 additions & 4 deletions anitya/lib/backends/pecl.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2020 - Copyright Red Hat Inc
(c) 2014-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>

"""

Expand Down
10 changes: 5 additions & 5 deletions anitya/lib/backends/pypi.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2020 - Copyright Red Hat Inc
(c) 2014-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Michal Konecny <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Michal Konecny <[email protected]>

"""

Expand Down
10 changes: 5 additions & 5 deletions anitya/lib/backends/rubygems.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-

"""
(c) 2014-2020 - Copyright Red Hat Inc
(c) 2014-2020 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Michal Konecny <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>
Ralph Bean <[email protected]>
Michal Konecny <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/sourceforge.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-

"""
(c) 2014 - Copyright Red Hat Inc
(c) 2014 - Copyright Red Hat Inc

Authors:
Pierre-Yves Chibon <[email protected]>
Authors:
Pierre-Yves Chibon <[email protected]>

"""

Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/backends/stackage.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# -*- coding: utf-8 -*-

"""
(c) 2015 - Copyright Red Hat Inc
Authors:
Jens Petersen <[email protected]>
(c) 2015 - Copyright Red Hat Inc
Authors:
Jens Petersen <[email protected]>
"""


Expand Down
6 changes: 3 additions & 3 deletions anitya/lib/ecosystems/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
# (c) 2016 - Copyright Red Hat Inc

"""
The Anitya ecosystems API.
The Anitya ecosystems API.

Authors:
Nick Coghlan <[email protected]>
Authors:
Nick Coghlan <[email protected]>

"""

Expand Down
Loading
Loading