Skip to content

Commit 741362f

Browse files
committed
First iteration of the rewrite
Signed-off-by: Bernat Gabor <[email protected]>
0 parents  commit 741362f

File tree

125 files changed

+6300
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+6300
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @gaborbernat @asottile @obestwalter

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Bug report
3+
about: Something that does not works as expected
4+
title: ""
5+
labels: bug:normal
6+
assignees: ''
7+
8+
---
9+
10+
When submitting a bug make sure you can reproduce it via ``tox -rvv`` and attach the output of that to the bug. Ideally, you should also submit a project that allows easily reproducing the bug. Thanks!
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Feature request
3+
about: Suggest an improvement for the project
4+
title: ""
5+
labels: feature:new
6+
assignees: ''
7+
8+
---
9+
10+
Describe what improvement you want and how would this be used. Thanks!

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Thanks for contributing a pull request!
2+
3+
If you are contributing for the first time or provide a trivial fix don't worry too
4+
much about the checklist - we will help you get started.
5+
6+
## Contribution checklist:
7+
8+
(also see [CONTRIBUTING.rst](../tree/master/CONTRIBUTING.rst) for details)
9+
10+
- [ ] wrote descriptive pull request text
11+
- [ ] added/updated test(s)
12+
- [ ] updated/extended the documentation
13+
- [ ] added relevant [issue keyword](https://help.github.com/articles/closing-issues-using-keywords/)
14+
in message body
15+
- [ ] added news fragment in [changelog folder](../tree/master/docs/changelog)
16+
* fragment name: `<issue number>.<type>.rst` for example (588.bugfix.rst)
17+
* `<type>` is must be one of `bugfix`, `feature`, `deprecation`,`breaking`, `doc`, `misc`
18+
* if PR has no issue: consider creating one first or change it to the PR number after creating the PR
19+
* "sign" fragment with "by :user:`<your username>`"
20+
* please use full sentences with correct case and punctuation, for example: "Fix issue with non-ascii contents in doctest text files - by :user:`superuser`."
21+
* also see [examples](../tree/master/docs/changelog)
22+
- [ ] added yourself to `CONTRIBUTORS` (preserving alphabetical order)

.github/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
chronographer:
2+
enforce_name:
3+
suffix: .rst
4+
rtd:
5+
project: tox

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# python
2+
*.pyc
3+
*.pyo
4+
*.swp
5+
__pycache__
6+
7+
8+
# packaging folders
9+
/src/tox/version.py
10+
/build/
11+
/dist/
12+
/src/tox.egg-info
13+
14+
# tox working folder
15+
/.tox
16+
17+
# IDEs
18+
/.idea
19+
/.vscode
20+
21+
# tools
22+
/.*_cache
23+
24+
# documentation
25+
/docs/_draft.rst
26+
27+
# release
28+
credentials.json
29+
30+
pip-wheel-metadata
31+
.DS_Store

.pre-commit-config.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 19.10b0
4+
hooks:
5+
- id: black
6+
args: [--safe]
7+
language_version: python3.8
8+
- repo: https://github.com/asottile/blacken-docs
9+
rev: v1.6.0
10+
hooks:
11+
- id: blacken-docs
12+
additional_dependencies: [black==19.10b0]
13+
language_version: python3.8
14+
- repo: https://github.com/asottile/seed-isort-config
15+
rev: v2.1.0
16+
hooks:
17+
- id: seed-isort-config
18+
args: [--application-directories, "src:."]
19+
- repo: https://github.com/pre-commit/mirrors-isort
20+
rev: v4.3.21
21+
hooks:
22+
- id: isort
23+
- repo: https://github.com/pre-commit/pre-commit-hooks
24+
rev: v2.5.0
25+
hooks:
26+
- id: trailing-whitespace
27+
- id: end-of-file-fixer
28+
- id: check-yaml
29+
- id: debug-statements
30+
- id: flake8
31+
additional_dependencies: ["flake8-bugbear == 20.1.4"]
32+
language_version: python3.8
33+
- repo: https://github.com/asottile/pyupgrade
34+
rev: v2.1.0
35+
hooks:
36+
- id: pyupgrade
37+
- repo: https://github.com/pre-commit/pygrep-hooks
38+
rev: v1.5.1
39+
hooks:
40+
- id: rst-backticks
41+
- repo: local
42+
hooks:
43+
- id: changelogs-rst
44+
name: changelog filenames
45+
language: fail
46+
entry: 'changelog files must be named ####.(bugfix|feature|deprecation|breaking|doc|misc).rst'
47+
exclude: ^docs/changelog/(\d+\.(bugfix|feature|deprecation|breaking|doc|misc).rst|README.rst|template.jinja2)
48+
files: ^docs/changelog/

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
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, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
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.
28+
29+
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.
30+
31+
## Scope
32+
33+
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.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. 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.
38+
39+
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.
40+
41+
## Attribution
42+
43+
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][version]
44+
45+
[homepage]: https://www.contributor-covenant.org/
46+
[version]: https://www.contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)