Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Allow to run with all Python optimizations enabled #607

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mondeja
Copy link

@mondeja mondeja commented Sep 13, 2022

Resolves #606

@sigmavirus24
Copy link
Member

I'm not speaking as a maintainer here but I don't think this is desirable in the slightest. Using the docstrings for explaining the error is maybe questionable but just removing the docstrings altogether is a big mistake and hurts maintainability and readability of this tool

@mondeja
Copy link
Author

mondeja commented Sep 13, 2022

I'm open to duplicate the explanations to avoid the docstrings stripping and add a test to synchronize docstrings with explanations. If a maintainer can take a final decission I'll be happy to implement it 👍🏼

@mondeja mondeja marked this pull request as draft September 13, 2022 19:43
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.

pycodestyle is not compatible with PYTHONOPTIMIZE=2
2 participants