Skip to content

Commit 3ccc443

Browse files
committed
initial commit
0 parents  commit 3ccc443

28 files changed

+734
-0
lines changed

.github/FEATURE_REQUEST.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature Request Template
3+
about: "For feature requests. Please search for existing issues first. Also see CONTRIBUTING."
4+
5+
---
6+
7+
**Please Describe The Problem To Be Solved**
8+
(Replace This Text: Please present a concise description of the problem to be addressed by this feature request. Please be clear what parts of the problem are considered to be in-scope and out-of-scope.)
9+
10+
**(Optional): Suggest A Solution**
11+
(Replace This Text: A concise description of your preferred solution. Things to address include:
12+
* Details of the technical implementation
13+
* Tradeoffs made in design decisions
14+
* Caveats and considerations for the future
15+
16+
If there are multiple solutions, please present each one separately. Save comparisons for the very end.)

.github/ISSUE_TEMPLATE.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
* Tackle version: [latest]
2+
* Python version: [3.x]
3+
* Operating System: [linux]
4+
5+
### Description:
6+
7+
// REPLACE ME: What are you trying to get done, what has happened, what went wrong, and what did you expect?
8+
9+
### What I've run:
10+
11+
```
12+
// REPLACE ME: Paste a log of command(s) you ran and tackle's output, tracebacks, etc, here
13+
```

.github/release-drafter.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
categories:
2+
- title: 'Breaking Changes'
3+
labels:
4+
- 'breaking-change'
5+
- title: 'Non-Breaking Changes'
6+
labels:
7+
- 'major'
8+
- title: 'Minor Changes'
9+
labels:
10+
- 'feature'
11+
- 'enhancement'
12+
- title: 'CI/CD and QA changes'
13+
labels:
14+
- 'CI/CD'
15+
- 'tests'
16+
- 'code style'
17+
- title: 'Documentation updates'
18+
labels:
19+
- 'documentation'
20+
- title: 'Bugfixes'
21+
labels:
22+
- 'bug'
23+
- title: 'Deprecations'
24+
labels:
25+
- 'deprecated'
26+
exclude-labels:
27+
- 'skip-changelog'
28+
template: |
29+
## Changes
30+
31+
$CHANGES
32+
33+
## This release is made by wonderfull contributors:
34+
35+
$CONTRIBUTORS

.github/workflows/main.yml

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
name: ci-tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- "*"
9+
pull_request:
10+
branches:
11+
- "*"
12+
13+
jobs:
14+
build:
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
name:
20+
- "linting"
21+
- "ubuntu-py36"
22+
- "ubuntu-py37"
23+
- "ubuntu-py38"
24+
- "ubuntu-py39"
25+
- "ubuntu-py310"
26+
- "macos-py36"
27+
- "macos-py37"
28+
- "macos-py38"
29+
- "macos-py39"
30+
- "macos-py310"
31+
- "windows-py36"
32+
- "windows-py37"
33+
- "windows-py38"
34+
- "windows-py39"
35+
- "windows-py310"
36+
37+
include:
38+
- name: "linting"
39+
python: "3.8"
40+
os: ubuntu-latest
41+
tox_env: "lint"
42+
- name: "ubuntu-py36"
43+
python: "3.6"
44+
os: "ubuntu-latest"
45+
tox_env: "py36"
46+
- name: "ubuntu-py37"
47+
python: "3.7"
48+
os: "ubuntu-latest"
49+
tox_env: "py37"
50+
- name: "ubuntu-py38"
51+
python: "3.8"
52+
os: "ubuntu-latest"
53+
tox_env: "py38"
54+
- name: "ubuntu-py39"
55+
python: "3.9"
56+
os: "ubuntu-latest"
57+
tox_env: "py39"
58+
- name: "ubuntu-py310"
59+
python: "3.10"
60+
os: "ubuntu-latest"
61+
tox_env: "py310"
62+
- name: "macos-py36"
63+
python: "3.6"
64+
os: "macos-latest"
65+
tox_env: "py36"
66+
- name: "macos-py37"
67+
python: "3.7"
68+
os: "macos-latest"
69+
tox_env: "py37"
70+
- name: "macos-py38"
71+
python: "3.8"
72+
os: "macos-latest"
73+
tox_env: "py38"
74+
- name: "macos-py39"
75+
python: "3.9"
76+
os: "macos-latest"
77+
tox_env: "py39"
78+
- name: "macos-py310"
79+
python: "3.10"
80+
os: "macos-latest"
81+
tox_env: "py310"
82+
- name: "windows-py36"
83+
python: "3.6"
84+
os: "windows-latest"
85+
tox_env: "py36"
86+
- name: "windows-py37"
87+
python: "3.7"
88+
os: "windows-latest"
89+
tox_env: "py37"
90+
- name: "windows-py38"
91+
python: "3.8"
92+
os: "windows-latest"
93+
tox_env: "py38"
94+
- name: "windows-py39"
95+
python: "3.9"
96+
os: "windows-latest"
97+
tox_env: "py39"
98+
- name: "windows-py310"
99+
python: "3.10"
100+
os: "windows-latest"
101+
tox_env: "py310"
102+
103+
steps:
104+
- uses: actions/checkout@v2
105+
- name: Set up Python ${{ matrix.python }}
106+
uses: actions/setup-python@v1
107+
with:
108+
python-version: ${{ matrix.python }}
109+
- name: Install dependencies
110+
run: |
111+
python -m pip install --upgrade pip
112+
pip install tox virtualenv
113+
- name: Test build
114+
run: "tox -e ${{ matrix.tox_env }}"

.github/workflows/release-drafter.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: release-drafter-ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- "*"
9+
pull_request:
10+
branches:
11+
- "*"
12+
13+
jobs:
14+
test:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: checkout
18+
uses: actions/checkout@v2
19+
with:
20+
path: "${{ github.repository }}"
21+
- name: Install dependencies
22+
run: |
23+
pip install -r requirements-dev.txt

.gitignore

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# Pushing all rendered docs to `docs` branch in GH actions
7+
docs/_build/*
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
venv/
13+
Pipfile*
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.coverage
43+
.coverage.*
44+
.cache
45+
nosetests.xml
46+
coverage.xml
47+
*,cover
48+
.hypothesis/
49+
.pytest_cache
50+
51+
# Translations
52+
*.mo
53+
*.pot
54+
55+
# Django stuff:
56+
*.log
57+
58+
# Sphinx documentation
59+
docs/_build/doctrees
60+
61+
# PyBuilder
62+
target/
63+
64+
# PyCharm
65+
.idea/
66+
.env
67+
68+
# VS code
69+
.vscode

.pre-commit-config.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
repos:
3+
- repo: https://github.com/compilerla/conventional-pre-commit
4+
rev: v1.2.0
5+
hooks:
6+
- id: conventional-pre-commit
7+
stages: [commit-msg]
8+
args: [] # optional: list of Conventional Commits types to allow
9+
10+
- repo: https://github.com/python/black.git
11+
rev: 21.4b2
12+
hooks:
13+
- id: black
14+
language_version: python3
15+
16+
- repo: https://github.com/pre-commit/pre-commit-hooks
17+
rev: v3.4.0
18+
hooks:
19+
- id: trailing-whitespace
20+
args: [ --markdown-linebreak-ext=md ]
21+
- id: mixed-line-ending
22+
- id: check-byte-order-marker
23+
- id: check-executables-have-shebangs
24+
- id: check-merge-conflict
25+
- id: check-symlinks
26+
- repo: https://gitlab.com/pycqa/flake8
27+
rev: 3.9.1
28+
hooks:
29+
- id: flake8
30+
args:
31+
- '--ignore=D106,D102,D107,E501,W503,D400,D205,E203,D100,D101,D103'
32+
- '--exclude=.git,__pycache__,docs'
33+
additional_dependencies:
34+
- flake8-absolute-import
35+
- flake8-black
36+
- flake8-docstrings

0 commit comments

Comments
 (0)