Skip to content

Commit d71f4b1

Browse files
sobolevnflpStrri
authored andcommitted
0 parents  commit d71f4b1

243 files changed

Lines changed: 23466 additions & 0 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Check http://editorconfig.org for more information
2+
# This is the main config file for this project:
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
end_of_line = lf
9+
indent_style = space
10+
insert_final_newline = true
11+
indent_size = 2
12+
13+
[*.py]
14+
indent_size = 4
15+
16+
[*.pyi]
17+
indent_size = 4

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: dry-python

.github/workflows/misspell.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: misspell
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: sobolevn/misspell-fixer-action@0.1.0
15+
- uses: peter-evans/create-pull-request@v2.4.4
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
commit-message: 'Fixes by misspell-fixer'
19+
title: 'Typos fix by misspell-fixer'

.github/workflows/test.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [3.6, 3.7, 3.8]
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up Python ${{ matrix.python-version }}
15+
uses: actions/setup-python@v1
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
19+
- name: Install poetry
20+
run: |
21+
curl -sSL \
22+
"https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" | python
23+
24+
- name: Set up cache
25+
uses: actions/cache@v1
26+
with:
27+
path: .venv
28+
key: venv-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
29+
- name: Install dependencies
30+
run: |
31+
source "$HOME/.poetry/env"
32+
33+
poetry config virtualenvs.in-project true
34+
poetry install
35+
36+
- name: Run tests
37+
run: |
38+
source "$HOME/.poetry/env"
39+
40+
poetry run flake8 .
41+
poetry run mypy returns ./tests/**/*.py
42+
poetry run pytest . docs/pages
43+
poetry run doc8 -q docs
44+
poetry run poetry check
45+
poetry run pip check
46+
poetry run safety check --bare --full-report
47+
48+
- name: Upload coverage to Codecov
49+
uses: codecov/codecov-action@v1
50+
with:
51+
file: ./coverage.xml

.gitignore

Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
#### joe made this: http://goel.io/joe
2+
#### python ####
3+
# Byte-compiled / optimized / DLL files
4+
.pytest_cache
5+
__pycache__/
6+
*.py[cod]
7+
*$py.class
8+
9+
# C extensions
10+
*.so
11+
12+
# Distribution / packaging
13+
.Python
14+
build/
15+
develop-eggs/
16+
dist/
17+
downloads/
18+
eggs/
19+
.eggs/
20+
lib/
21+
lib64/
22+
parts/
23+
sdist/
24+
var/
25+
wheels/
26+
*.egg-info/
27+
.installed.cfg
28+
*.egg
29+
pip-wheel-metadata/
30+
31+
# PyInstaller
32+
# Usually these files are written by a python script from a template
33+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
34+
*.manifest
35+
*.spec
36+
37+
# Installer logs
38+
pip-log.txt
39+
pip-delete-this-directory.txt
40+
41+
# Unit test / coverage reports
42+
htmlcov/
43+
.tox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
.hypothesis/
51+
52+
# Translations
53+
*.mo
54+
*.pot
55+
56+
# Django stuff:
57+
*.log
58+
local_settings.py
59+
60+
# Flask stuff:
61+
instance/
62+
.webassets-cache
63+
64+
# Scrapy stuff:
65+
.scrapy
66+
67+
# Sphinx documentation
68+
docs/_build/
69+
70+
# PyBuilder
71+
target/
72+
73+
# Jupyter Notebook
74+
.ipynb_checkpoints
75+
76+
# pyenv
77+
.python-version
78+
79+
# celery beat schedule file
80+
celerybeat-schedule
81+
82+
# SageMath parsed files
83+
*.sage.py
84+
85+
# Environments
86+
.env
87+
.venv
88+
env/
89+
venv/
90+
ENV/
91+
92+
# Spyder project settings
93+
.spyderproject
94+
.spyproject
95+
96+
# Rope project settings
97+
.ropeproject
98+
99+
# mkdocs documentation
100+
/site
101+
102+
# mypy
103+
.mypy_cache/
104+
#### macos ####
105+
# General
106+
*.DS_Store
107+
.AppleDouble
108+
.LSOverride
109+
110+
# Icon must end with two \r
111+
Icon
112+
113+
114+
# Thumbnails
115+
._*
116+
117+
# Files that might appear in the root of a volume
118+
.DocumentRevisions-V100
119+
.fseventsd
120+
.Spotlight-V100
121+
.TemporaryItems
122+
.Trashes
123+
.VolumeIcon.icns
124+
.com.apple.timemachine.donotpresent
125+
126+
# Directories potentially created on remote AFP share
127+
.AppleDB
128+
.AppleDesktop
129+
Network Trash Folder
130+
Temporary Items
131+
.apdisk
132+
#### windows ####
133+
# Windows thumbnail cache files
134+
Thumbs.db
135+
ehthumbs.db
136+
ehthumbs_vista.db
137+
138+
# Dump file
139+
*.stackdump
140+
141+
# Folder config file
142+
Desktop.ini
143+
144+
# Recycle Bin used on file shares
145+
$RECYCLE.BIN/
146+
147+
# Windows Installer files
148+
*.cab
149+
*.msi
150+
*.msm
151+
*.msp
152+
153+
# Windows shortcuts
154+
*.lnk
155+
#### linux ####
156+
*~
157+
158+
# temporary files which can be created if a process still has a handle open of a deleted file
159+
.fuse_hidden*
160+
161+
# KDE directory preferences
162+
.directory
163+
164+
# Linux trash folder which might appear on any partition or disk
165+
.Trash-*
166+
167+
# .nfs files are created when an open file is removed but is still being accessed
168+
.nfs*
169+
#### jetbrains ####
170+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
171+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
172+
173+
# User-specific stuff:
174+
.idea/
175+
176+
## File-based project format:
177+
*.iws
178+
179+
## Plugin-specific files:
180+
181+
# IntelliJ
182+
/out/
183+
184+
# mpeltonen/sbt-idea plugin
185+
.idea_modules/
186+
187+
# JIRA plugin
188+
atlassian-ide-plugin.xml
189+
190+
# Cursive Clojure plugin
191+
.idea/replstate.xml
192+
193+
# Crashlytics plugin (for Android Studio and IntelliJ)
194+
com_crashlytics_export_strings.xml
195+
crashlytics.properties
196+
crashlytics-build.properties
197+
fabric.properties
198+
199+
### Custom ###
200+
ex.py
201+
experiments/
202+
.vscode/tags
203+
.pyre
204+
.pytype

0 commit comments

Comments
 (0)