-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0e07f27
Showing
43 changed files
with
2,698 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
environment: | ||
global: | ||
RANDOM_SEED: 0 | ||
matrix: | ||
- PYTHON_MAJOR: 3 | ||
PYTHON_MINOR: 6 | ||
|
||
cache: | ||
- .venv -> poetry.lock | ||
|
||
install: | ||
# Add Make and Python to the PATH | ||
- copy C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe | ||
- set PATH=%PATH%;C:\MinGW\bin | ||
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%;%PATH% | ||
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%\Scripts;%PATH% | ||
# Install system dependencies | ||
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python | ||
- set PATH=%USERPROFILE%\.poetry\bin;%PATH% | ||
- make doctor | ||
# Install project dependencies | ||
- make install | ||
|
||
build: off | ||
|
||
test_script: | ||
- make check | ||
- make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[run] | ||
|
||
branch = true | ||
|
||
data_file = .cache/coverage | ||
|
||
omit = | ||
.venv/* | ||
*/tests/* | ||
*/__main__.py | ||
|
||
[report] | ||
|
||
exclude_lines = | ||
pragma: no cover | ||
raise NotImplementedError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto | ||
CHANGELOG.md merge=union |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Temporary Python files | ||
*.pyc | ||
*.egg-info | ||
__pycache__ | ||
.ipynb_checkpoints | ||
setup.py | ||
|
||
# Temporary OS files | ||
Icon* | ||
|
||
# Temporary virtual environment files | ||
/.cache/ | ||
/.venv/ | ||
|
||
# Temporary server files | ||
.env | ||
*.pid | ||
|
||
# Generated documentation | ||
/docs/gen/ | ||
/docs/apidocs/ | ||
/site/ | ||
/*.html | ||
/docs/*.png | ||
|
||
# Google Drive | ||
*.gdoc | ||
*.gsheet | ||
*.gslides | ||
*.gdraw | ||
|
||
# Testing and coverage results | ||
/.coverage | ||
/.coverage.* | ||
/htmlcov/ | ||
|
||
# Build and release directories | ||
/build/ | ||
/dist/ | ||
*.spec | ||
|
||
# Sublime Text | ||
*.sublime-workspace | ||
|
||
# Eclipse | ||
.settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[settings] | ||
|
||
not_skip = __init__.py | ||
|
||
multi_line_output = 3 | ||
|
||
known_standard_library = dataclasses,typing_extensions | ||
known_third_party = click,log | ||
known_first_party = arger | ||
|
||
combine_as_imports = true | ||
force_grid_wrap = false | ||
include_trailing_comma = true | ||
|
||
lines_after_imports = 2 | ||
line_length = 88 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[mypy] | ||
|
||
ignore_missing_imports = true | ||
no_implicit_optional = true | ||
check_untyped_defs = true | ||
|
||
cache_dir = .cache/mypy/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[pydocstyle] | ||
|
||
# D211: No blank lines allowed before class docstring | ||
add_select = D211 | ||
|
||
# D100: Missing docstring in public module | ||
# D101: Missing docstring in public class | ||
# D102: Missing docstring in public method | ||
# D103: Missing docstring in public function | ||
# D104: Missing docstring in public package | ||
# D105: Missing docstring in magic method | ||
# D107: Missing docstring in __init__ | ||
# D202: No blank lines allowed after function docstring | ||
add_ignore = D100,D101,D102,D103,D104,D105,D107,D202 |
Oops, something went wrong.