diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..7b3a9b7 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,19 @@ + + +## What do these changes do? + + + +## Are there changes in behavior for the user? + + + +## Related issue number + + + +## Checklist + +- [ ] I think the code is well written +- [ ] Unit tests for the changes exist +- [ ] Documentation reflects the changes diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..4ac798a --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @penguinolog @kobe25 @dis-xcom diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..c688c65 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,73 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of experience, +education, socio-economic status, nationality, personal appearance, race, +religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project maintainers. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org diff --git a/README.rst b/README.rst index ca49756..4b5b277 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ logwrap ======= -.. image:: https://travis-ci.org/penguinolog/logwrap.svg?branch=master +.. image:: https://travis-ci.org/python-useful-helpers/logwrap.svg?branch=master :target: https://travis-ci.org/python-useful-helpers/logwrap .. image:: https://coveralls.io/repos/github/python-useful-helpers/logwrap/badge.svg?branch=master :target: https://coveralls.io/github/python-useful-helpers/logwrap?branch=master diff --git a/logwrap/__init__.py b/logwrap/__init__.py index d775cdd..3c3b726 100644 --- a/logwrap/__init__.py +++ b/logwrap/__init__.py @@ -56,6 +56,11 @@ __version__ = '3.2.2' __author__ = "Alexey Stepanov" __author_email__ = 'penguinolog@gmail.com' +__maintainers__ = { + 'Alexey Stepanov': 'penguinolog@gmail.com', + 'Antonio Esposito': 'esposito.cloud@gmail.com', + 'Dennis Dmitriev': 'dis-xcom@gmail.com', +} __url__ = 'https://github.com/python-useful-helpers/logwrap' __description__ = ( "Decorator for logging function arguments and " diff --git a/setup.cfg b/setup.cfg index 5c03d4f..32d107e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,7 +9,7 @@ packages = find: setup_requires = setuptools > 20.2 -python_requires = >=2.6,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.* +python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.* [bdist_wheel] # This flag says that the code is written to work on both Python 2 and Python diff --git a/setup.py b/setup.py index c62025e..80ac0d8 100644 --- a/setup.py +++ b/setup.py @@ -243,6 +243,10 @@ def get_simple_vars_from_src(src): name='logwrap', author=variables['__author__'], author_email=variables['__author_email__'], + maintainer=', '.join( + '{name} <{email}>'.format(name=name, email=email) + for name, email in variables['__maintainers__'].items() + ), url=variables['__url__'], version=variables['__version__'], license=variables['__license__'],