Closed cdce8p closed 1 year ago
The lint errors where a result of the recent pycodestyle==2.11.0
release.
For coverage, I chose to ignore all Python 3.7 branches. The report is generated with Python 3.8 currently, so those will never match. An alternative would be to rewrite the CI config to generate partial coverage results for each Python version and combine them in a later step. Not sure that's worth it though. Could also still be done at a later point.
In order to accept your contribution please sign our contributor agreement: https://zope.dev/developer/becoming-a-committer.html
In order to accept your contribution please sign our contributor agreement: https://zope.dev/developer/becoming-a-committer.html
I'm sorry I won't sign it just for a simple PR like this one. The PR doesn't do anything unique that would be protected anyway. Feel free to use it or don't, your call. For what it's worth, consider any changes in this PR to be public domain or CC0-1.0-Universal licensed.
Superceded by #259
ast.Str
andast.Num
have been deprecated since Python 3.8. Starting with3.12
, they will now emit DeprecationWarnings. Replace them with calls toast.Constant
for Python 3.8+.An alternative would be to drop support for Python 3.7.
https://docs.python.org/3.12/library/ast.html#ast.AST