This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
322 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
labels: | ||
bug: | ||
color: ee0701 | ||
difficulty/newcomers: | ||
color: c5def5 | ||
difficulty/easy: | ||
color: c2e0c6 | ||
difficulty/hard: | ||
color: e99695 | ||
difficulty/medium: | ||
color: fef2c0 | ||
documentation: | ||
color: 1d76db | ||
etc/blocked: | ||
color: b60205 | ||
etc/duplicate: | ||
color: cccccc | ||
etc/invalid: | ||
color: cccccc | ||
etc/question: | ||
color: cccccc | ||
etc/wontfix: | ||
color: cccccc | ||
feature/request: | ||
color: d93f0b | ||
feature/approved: | ||
color: 5319e7 | ||
help wanted: | ||
color: 128A0C | ||
question: | ||
color: cc317c | ||
options: | ||
allow_merge_commit: false | ||
allow_rebase_merge: true | ||
allow_squash_merge: true | ||
description: Python (a)sync Slack API library | ||
has_downloads: true | ||
has_issues: true | ||
has_wiki: false | ||
homepage: '' | ||
name: slack-sansio | ||
private: false |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# 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. | ||
|
||
## 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 team at | ||
contact@ovv.wtf. The project team will review and investigate all complaints, and will respond in a way that it deems | ||
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 | ||
[http://contributor-covenant.org/version/1/4][version] | ||
|
||
[homepage]: http://contributor-covenant.org | ||
[version]: http://contributor-covenant.org/version/1/4/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
============ | ||
Contributing | ||
============ | ||
|
||
First off, thanks for taking the time to contribute! | ||
|
||
Contributions are welcome by anybody and everybody. We are not kidding! Looking for help ? Join us on `Slack`_ by requesting an `invite`_. | ||
|
||
The rest of this document will be guidelines to contributing to the project. Remember that these are just guidelines, not rules. Use common sense as much as possible. | ||
|
||
.. _invite: http://pyslackers.com/ | ||
.. _Slack: https://pythondev.slack.com/ | ||
|
||
Pull Request Guidelines | ||
----------------------- | ||
|
||
Before you submit a pull request, check that it meets these guidelines: | ||
|
||
1. The pull request should include tests (if necessary). If you have any questions about how to write tests then ask the community. | ||
2. If the pull request adds functionality update the docs where appropriate. | ||
3. Use a `good commit message`_. | ||
|
||
If you have any issues contributing_git_hygiene_ might help. | ||
|
||
.. _good commit message: https://github.com/spring-projects/spring-framework/blob/30bce7/CONTRIBUTING.md#format-commit-messages | ||
|
||
|
||
Types of Contributions | ||
---------------------- | ||
|
||
Report Bugs | ||
^^^^^^^^^^^ | ||
|
||
The best way to report a bug is to file an `issue <https://github.com/pyslackers/slack-sansio/issues>`_. | ||
|
||
Please include: | ||
|
||
* Your operating system name and version. | ||
* Any details about your local setup that might be helpful in troubleshooting. | ||
* Detailed steps to reproduce the bug. | ||
|
||
Fix Bugs & Features | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
Look through the github issues for bugs or features request. | ||
Anything tagged with "help-wanted" is open to whoever wants to implement it. | ||
|
||
Write Documentation | ||
^^^^^^^^^^^^^^^^^^^ | ||
|
||
Slack-sansio could always use more documentation and examples, whether as part of the | ||
official documentation, in docstrings, or even on the web in blog posts, articles, and such. | ||
|
||
Submit Feedback | ||
^^^^^^^^^^^^^^^ | ||
|
||
The best way to submit feedback is to file an `issue <https://github.com/pyslackers/slack-sansio/issues>`_. | ||
|
||
If you are proposing a feature: | ||
|
||
* Explain in detail how it would work. | ||
* Keep the scope as narrow as possible, to make it easier to implement. | ||
* Remember that this is a volunteer-driven project, and that contributions | ||
are welcome :) | ||
|
||
Get Started! | ||
------------ | ||
|
||
Ready to contribute? Here's how to set up `slack-sansio` for local development. | ||
|
||
1. Fork the `slack-sansion` repo on github. | ||
2. Clone your fork locally and add the upstream repository: | ||
|
||
.. code-block:: console | ||
$ git clone git@github.com:<username>/slack-sansio.git | ||
$ git remote add upstream https://github.com/pyslackers/slack-sansio.git | ||
3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development: | ||
|
||
.. code-block:: console | ||
$ mkvirtualenv slack-sansion | ||
$ cd slack-sansion/ | ||
4. Install all dependencies | ||
|
||
.. code-block:: console | ||
$ pip install -e .[dev] | ||
5. Create a branch for local development: | ||
|
||
.. code-block:: console | ||
$ git checkout -b name-of-your-bugfix-or-feature | ||
Now you can make your changes locally. | ||
|
||
6. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox: | ||
|
||
.. code-block:: console | ||
$ tox | ||
7. Commit your changes and push your branch to github: | ||
|
||
.. code-block:: console | ||
$ git add . | ||
$ git commit | ||
$ git push origin name-of-your-bugfix-or-feature | ||
8. Submit a pull request through the github website. | ||
|
||
Git Hygiene | ||
----------- | ||
|
||
.. _contributing_git_hygiene: | ||
|
||
Handling Merge Conflicts | ||
^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
Occasionally a Pull Request will have Merge Conflicts. **Do not merge master into your branch.** Instead, make sure your :code:`master` branch is up to date: | ||
|
||
.. code-block:: console | ||
$ git checkout master | ||
$ git pull upstream master | ||
$ git push origin master | ||
Then rebase your branch on :code:`master`: | ||
|
||
.. code-block:: console | ||
$ git checkout _my-branch_ | ||
$ git rebase master | ||
If there are any conflicts you need to resolve, it will suspend the rebase for you to fix them. Then do: | ||
|
||
.. code-block:: console | ||
$ git add . | ||
$ git rebase --continue | ||
It will do one round of conflict-checking for each commit in your branch, so keeping your history clean will make rebasing much easier. When the rebase is done, your branch will be up to date with master and ready to issue a PR if you are. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.