A collection of python patterns that help you collect your technical debt in a non-destructive manner
Go to file
Takashi Kajinami 116055a912 Run pyupgrade to clean up Python 2 syntaxes
Update all .py source files by
 $ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.

Also add the pyupgrade hook to pre-commit to avoid merging additional
Python 2 syntaxes.

Change-Id: I920992b0fdd3df6f7276268d57e7345c70272d12
2024-10-21 19:16:02 +09:00
debtcollector Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:16:02 +09:00
doc/source Remove unnecessary 'coding' lines 2021-11-04 10:45:02 +00:00
releasenotes reno: Update master for unmaintained/victoria 2024-03-07 14:14:21 +00:00
.coveragerc coveragerc: Remove non-existent path 2023-12-19 20:54:44 +09:00
.gitignore ignore reno generated artifacts 2020-09-22 10:39:02 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:47:51 +00:00
.mailmap Initial commit 2014-12-12 22:26:59 -08:00
.pre-commit-config.yaml Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:16:02 +09:00
.stestr.conf Switch to stestr 2018-07-09 16:15:47 +07:00
.zuul.yaml Update CI to use unversioned jobs template 2022-03-15 15:05:43 +00:00
CONTRIBUTING.rst Replace git.openstack.org URLs with opendev.org URLs 2019-06-27 21:03:07 +08:00
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 2019-06-27 21:03:07 +08:00
LICENSE Initial commit 2014-12-12 22:26:59 -08:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-06-27 21:03:07 +08:00
requirements.txt requirements: Remove unnecessary dependency 2023-09-07 15:46:01 +01:00
setup.cfg Declare Python 3.12 support 2024-10-09 22:48:48 +09:00
setup.py [ussuri][goal] Drop python 2.7 support and testing 2020-02-04 10:28:51 +01:00
test-requirements.txt pre-commit: Bump versions 2024-10-10 09:35:15 +01:00
tox.ini Remove lower-constraints remnants 2021-02-20 09:47:22 +08:00

Team and repository tags

image

Debtcollector

Latest Version

A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner. The goal of this library is to provide well documented developer facing deprecation patterns that start of with a basic set and can expand into a larger set of patterns as time goes on. The desired output of these patterns is to apply the warnings module to emit DeprecationWarning or PendingDeprecationWarning or similar derivative to developers using libraries (or potentially applications) about future deprecations.