Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Conversation

@marksweb
Copy link
Owner

@marksweb marksweb commented Aug 4, 2023

Add support for django 4.2 and python 3.12.

Also switch to ruff linting and black formatting

Copy link

@code-review-doctor code-review-doctor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth considering. View full project report here.

PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))

PYTHON_VERSION = '%s.%s' % sys.version_info[:2]
PYTHON_VERSION = "%s.%s" % sys.version_info[:2]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

f-string is easier to read, write, and less computationally expensive than legacy string formatting. Read more.

@marksweb marksweb merged commit 2730866 into main Aug 5, 2023
@marksweb marksweb deleted the feat/dj42 branch August 5, 2023 01:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants