Skip to content

refactor package info to setup.cfg, run pyupgrade#34

Merged
digitalresistor merged 2 commits intomasterfrom
refactor-package
May 16, 2022
Merged

refactor package info to setup.cfg, run pyupgrade#34
digitalresistor merged 2 commits intomasterfrom
refactor-package

Conversation

@mmerickel
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Member

@digitalresistor digitalresistor left a comment

Choose a reason for hiding this comment

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

Just some things I saw, unless you want to address them elsewhere?

Comment thread paste/deploy/loadwsgi.py Outdated

class InterpolateWrapper(object):
class InterpolateWrapper:
# Python >= 3.2
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there a Python less than 3 branch here somewhere?

I'm on mobile!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

thanks, removed that code

Comment thread paste/deploy/loadwsgi.py
@@ -102,7 +102,7 @@ def before_get(self, parser, section, option, value, defaults):
except Exception:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems like a really yucky way to reraise with a changed exception message.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah, not going to try to clean it up right now though :-)

Comment thread setup.cfg
version = 2.1.1
author = Ian Bicking
author_email = pylons-discuss@googlegroups.com
maintainer = Chris Dent
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should probably be changed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Dunno, would have to find out if chris is around - going to leave it as is.

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