Skip to content

Comments

Enforce pep8-naming conventions in tooling#881

Closed
skiadas wants to merge 2 commits intoPreTeXtBook:mainfrom
skiadas:main
Closed

Enforce pep8-naming conventions in tooling#881
skiadas wants to merge 2 commits intoPreTeXtBook:mainfrom
skiadas:main

Conversation

@skiadas
Copy link
Contributor

@skiadas skiadas commented Dec 18, 2024

No description provided.

@skiadas skiadas mentioned this pull request Dec 18, 2024
Comment on lines +16 to +20
# Limit for how many entries to allow in the server file
# before attempting to clean up non-running entries.
# Note: This is not a limit to the number of concurrent servers.
PURGE_LIMIT = 10

Copy link
Member

Choose a reason for hiding this comment

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

This appears to be unrelated to the pep8 stuff, so don't forget to open a new PR to implement this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was a constant that was defined inside the one function that uses it, but pep8-naming complained about the all-caps use there, so I moved it to the top. If I leave it back without renaming we would be getting pep8-naming errors.

Copy link
Member

Choose a reason for hiding this comment

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

nm, I see this was moved out to be a constant.

@StevenClontz StevenClontz marked this pull request as draft December 18, 2024 22:13
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