Skip to content

Commit 2caecb4

Browse files
committed
chore: add code of conduct
1 parent 8880c19 commit 2caecb4

File tree

2 files changed

+83
-2
lines changed

2 files changed

+83
-2
lines changed

.github/CODE_OF_CONDUCT.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and
9+
expression, level of experience, education, socio-economic status, nationality,
10+
personal appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or reject
41+
comments, commits, code, wiki edits, issues, and other contributions that are
42+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
43+
contributor for other behaviors that they deem inappropriate, threatening,
44+
offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at
59+
[[email protected]](mailto:[email protected]). All complaints will be
60+
reviewed and investigated and will result in a response that is deemed necessary
61+
and appropriate to the circumstances. The project team is obligated to maintain
62+
confidentiality with regard to the reporter of an incident. Further details of
63+
specific enforcement policies may be posted separately.
64+
65+
Project maintainers who do not follow or enforce the Code of Conduct in good
66+
faith may face temporary or permanent repercussions as determined by other
67+
members of the project's leadership.
68+
69+
## Attribution
70+
71+
This Code of Conduct is adapted from the [Contributor
72+
Covenant](https://www.contributor-covenant.org), version 1.4, available at
73+
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

README.rst

+7-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Package Dependency Information
1414
:target: https://www.apache.org/licenses/LICENSE-2.0
1515
:alt: Apache Software License Version 2.0
1616

17+
.. image:: https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg
18+
:target: https://github.com/Midnighter/dependency-info/blob/master/.github/CODE_OF_CONDUCT.md
19+
:alt: Code of Conduct
20+
1721
.. image:: https://img.shields.io/travis/Midnighter/dependency-info/master.svg?label=Travis%20CI
1822
:target: https://travis-ci.org/Midnighter/dependency-info
1923
:alt: Travis CI
@@ -90,5 +94,6 @@ Example
9094
Copyright
9195
=========
9296

93-
* Copyright (c) 2018, Moritz E. Beber.
94-
* Free software: `Apache Software License 2.0 <https://github.com/Midnighter/dependency-info/blob/master/LICENSE>`_
97+
* Copyright © 2018-2020, Moritz E. Beber.
98+
* Free software distributed under the `Apache Software License 2.0
99+
<https://www.apache.org/licenses/LICENSE-2.0>`_.

0 commit comments

Comments
 (0)