Skip to content

Conversation

@utdrmac
Copy link

@utdrmac utdrmac commented Mar 19, 2025

This PR is a bit massive because it touches so many files. It is primarily due to the (Q) rule which comes from flake8 to use double quotes. I noticed an inconsistent usage of single and double throughout the code. If you prefer single, ruff can be configured to enforce single instead.

@utdrmac
Copy link
Author

utdrmac commented Mar 19, 2025

Should I make this PR against main or the v1.1.9 branch?

@HotNoob
Copy link
Owner

HotNoob commented Mar 19, 2025

v1.1.9 for staging is fine.

@HotNoob
Copy link
Owner

HotNoob commented Mar 19, 2025

hmmm. ' is mostly from too much programming in php :P it is faster to type, but i suppose " is more standard in python and other languages.

@HotNoob HotNoob changed the base branch from main to v1.1.9 March 19, 2025 02:23

# Evaluate the expression
end_value = eval(compile(tree, filename='', mode='eval'))
end_value = ast.literal_eval(compile(tree, filename="", mode="eval"))
Copy link
Owner

Choose a reason for hiding this comment

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

oops, yeah ima n00b. there is a safer eval option ;)

@HotNoob HotNoob merged commit f5282cc into HotNoob:v1.1.9 Mar 19, 2025
5 checks passed
@utdrmac
Copy link
Author

utdrmac commented Mar 19, 2025

hmmm. ' is mostly from too much programming in php :P it is faster to type, but i suppose " is more standard in python and other languages.

Ah, I could have switched it to use single. :) Yes, to the PHP as well. I have a massive PHP project I developed for internal use at work. I've been using phpstan to handle linting/checks/style and it's been an absolutely glorious thing. That's mainly why I've been implementing this in my python projects, and even my bash-based ones.

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