Skip to content

Commit fa0bb20

Browse files
authored
Merge pull request #744 from mntnr/feat/dx-audit
Developer Experience Audit
2 parents 82f121a + dec5b57 commit fa0bb20

File tree

5 files changed

+107
-13
lines changed

5 files changed

+107
-13
lines changed

CODE_OF_CONDUCT.md

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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, gender identity and expression, level of experience,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
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
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, 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 [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at [http://contributor-covenant.org/version/1/4][version]
72+
73+
[homepage]: http://contributor-covenant.org
74+
[version]: http://contributor-covenant.org/version/1/4/

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Plotly, Inc
3+
Copyright (c) 2016-2017 Plotly, Inc
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+16-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,27 @@
1-
## plotly.py
2-
##### an interactive, browser-based charting library for python
1+
# plotly.py
2+
3+
> An interactive, browser-based graphing library for Python :sparkles:
34
45
Plotly for Python is now entirely open source, free, and self-hosted.
56

67
[![](https://plot.ly/~chriddyp/1825/.png)](https://plot.ly/~chriddyp/1825.embed)
78

89
[![](https://plot.ly/~chriddyp/1780/.png)](https://plot.ly/~chriddyp/1780.embed)
910

10-
### [Documentation](https://plot.ly/python)
11+
## [Documentation](https://plot.ly/python)
12+
13+
Take a look at [the website docs](https://plot.ly/python).
14+
15+
Or, check out the [README.rst](README.rst) for more.
1116

12-
### Contributing
17+
## Contribute
1318

1419
Heck yeah! We've got suggestions! We've got guides!
1520

16-
Checkout [`contributing.md`](https://github.com/plotly/python-api/blob/master/contributing.md).
21+
Check out [`contributing.md`](https://github.com/plotly/python-api/blob/master/contributing.md).
22+
23+
Also, all interactions with Plotly are governed by the [Code of Conduct](CODE_OF_CONDUCT.md). Just saying.
24+
25+
## License
26+
27+
[MIT](LICENSE.txt) © 2016-2017 Plotly, Inc.

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ plotly figures, with a one-liner::
7474

7575
py.plot_mpl(fig)
7676

77-
Checkout the `Plotly and mpld3`_ IPython notebook for more infomataion.
77+
Checkout the `Plotly and mpld3`_ IPython notebook for more information.
7878

7979
Introduction to working with out API
8080
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

contributing.md

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
# Contributing
2+
13
The bottom line. Follow your Nose, or our Nose. Write-run-love tests :fist:.
24

5+
## Code of Conduct
6+
7+
Check out the [Code of Conduct](CODE_OF_CONDUCT.md). Don't tl:dr; it, but the general idea is to be nice.
8+
9+
## Got Questions?
10+
11+
Open an issue! Go to https://github.com/plotly/plotly.py/issues. It's possible that your issue was already addressed. If it wasn't, open it. We also accept PRs; take a look at the steps below for instructions on how to do this.
12+
313
## Setup
414

515
### Fork, Clone, Setup Your Version of the Plotly Python API
@@ -53,7 +63,7 @@ Once you've made your changes (and hopefully written some tests...), make that p
5363
## Suggestions
5464

5565
### Local Python
56-
Setting up Python versions that *don't* require you to use `sudo` is a good idea. In addition, the core Python on your machine may not be the Python that we've developed in! Here are some nice guides for Mac, Windows, and Linux:
66+
Setting up Python versions that *don't* require you to use `sudo` is a good idea. In addition, the core Python on your machine may not be the Python that we've developed in! Here are some nice guides for Mac, Windows, and Linux:
5767
- http://docs.python-guide.org/en/latest/starting/install/osx/
5868
- http://docs.python-guide.org/en/latest/starting/install/win/
5969
- http://docs.python-guide.org/en/latest/starting/install/linux/
@@ -82,7 +92,7 @@ export PYTHONPATH="/path/to/local/repo:$PYTHONPATH"
8292

8393
## Dependencies
8494

85-
There's a short list of core dependencies you'll need installed in your Python environment to have any sort of fun with Plotly's Python API (see `requirements.txt`). Additionally, you're likely to have even more fun if you install some other requirements (see `optional-requirements.txt`).
95+
There's a short list of core dependencies you'll need installed in your Python environment to have any sort of fun with Plotly's Python API (see `requirements.txt`). Additionally, you're likely to have even more fun if you install some other requirements (see `optional-requirements.txt`).
8696

8797
### Dependencies and Virtualenv
8898

@@ -176,27 +186,26 @@ tox -- -a '!slow','!matplotlib'
176186

177187
### Writing Tests
178188

179-
You're *strongly* encouraged to write tests that check your added functionality.
189+
You're *strongly* encouraged to write tests that check your added functionality.
180190

181191
When you write a new test anywhere under the `tests` directory, if your PR gets accepted, that test will run in a virtual machine to ensure that future changes don't break your contributions!
182192

183193
#### Publishing to Pip
184194

185195
You'll need the credentials file `~/.pypirc`. Request access from @theengineear and @chriddyp. Then, from inside the repository:
186196

187-
```
197+
```bash
188198
(plotly.py) $ git checkout master
189199
(plotly.py) $ git stash
190200
(plotly.py) $ git pull origin master
191201
(plotly.py) $ python setup.py sdist upload # upload to pip
192202
```
193203

194204
After it has uploaded, move to another directly and double+triple check that you are able to upgrade ok:
195-
```
205+
```bash
196206
$ pip install plotly --upgrade
197207
```
198208

199209
And ask one of your friends to do it too. Our tests should catch any issues, but you never know.
200210

201-
202211
<3 Team Plotly

0 commit comments

Comments
 (0)