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

Denested Code #4166

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Denested Code #4166

wants to merge 1 commit into from

Conversation

Shidoengie
Copy link

@Shidoengie Shidoengie commented Feb 29, 2024

Denested code blocks in various files in order to improve code readability

Mostly went arround trying to denest ifs to improve readability
@illume illume closed this Jun 17, 2024
@illume illume reopened this Jun 17, 2024
@illume
Copy link
Member

illume commented Jun 17, 2024

Hello. Thanks for this, it's a good idea.

Looks like there are some test failures though.

Do you want to continue this? If so, it would be best to make a change and commit to smaller parts. Perhaps only change and commit one function at a time and push. That way the tests should run each time.

We now use the pre-commit tool for running code formatters/linters/etc.

python3 -m pip install pre-commit black ruff pylint
pre-commit run -a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants