FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Improve PEP-compliance and testing by eigenein · Pull Request #56 · python-smpplib/python-smpplib · GitHub

Improve PEP-compliance and testing - #56

Merged
eigenein merged 1 commit into
python-smpplib:masterfrom
eigenein:master
Oct 11, 2018
Merged

Improve PEP-compliance and testing#56
eigenein merged 1 commit into
python-smpplib:masterfrom
eigenein:master

Conversation

eigenein commented Oct 2, 2018
edited
Loading

Copy link
Copy Markdown
Collaborator
  • Add tox.ini, support 2.6, 2.7, 3.4, 3.5, 3.6 and 3.7
  • Drop Python 3.2 and 3.3 support
  • Improve PEP8-compliance in a few places
  • Bump version to 1.0.2 and mark it as stable
  • Add classifiers to setup.py
  • Improve .gitignore with standard templates for popular environments
  • Remove some dead code in comments

Copy link
Copy Markdown
Collaborator Author

@podshumok Could you please take a quick look if it's okay for you?

Comment thread smpplib/client.py Outdated
if sequence_generator is None:
sequence_generator = SimpleSequenceGenerator()
self.sequence_generator = sequence_generator
self.sequence_generator = sequence_generator or SimpleSequenceGenerator()

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think is None version is better here as people may want to override __bool__ for things like sequence generators

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yeah, makes sense. I'll change it back.

Copy link
Copy Markdown
Member

Some strings are too long for my screen (I have vision problems and hence I use PEP8 recommended 79 columns). Apart from that it looks good.

Copy link
Copy Markdown
Collaborator Author

Got it, will reformat those lines.

* Add `tox.ini`, support `2.6`, `2.7`, `3.4`, `3.5`, `3.6` and `3.7`
* Drop Python `3.2` and `3.3` support
* Improve PEP8-compliance in a few places
* Bump version to `1.0.2` and mark it as stable
* Add classifiers to `setup.py`
* Improve `.gitignore` with standard templates for popular environments
* Remove some dead code in comments

Copy link
Copy Markdown
Collaborator Author

Oki, addressed the comments.

eigenein merged commit 9850f8e into python-smpplib:master Oct 11, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL