Skip to content

Commit 830a8bc

Browse files
committed
Initial from cookiecutter jacebrowning/template-python
0 parents  commit 830a8bc

45 files changed

Lines changed: 4124 additions & 0 deletions

Some content is hidden

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

.appveyor.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
environment:
2+
global:
3+
RANDOM_SEED: 0
4+
matrix:
5+
- PYTHON_MAJOR: 3
6+
PYTHON_MINOR: 6
7+
8+
cache:
9+
- .venv -> poetry.lock
10+
11+
install:
12+
# Add Make and Python to the PATH
13+
- copy C:\MinGW\bin\mingw32-make.exe C:\MinGW\bin\make.exe
14+
- set PATH=%PATH%;C:\MinGW\bin
15+
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%;%PATH%
16+
- set PATH=C:\Python%PYTHON_MAJOR%%PYTHON_MINOR%\Scripts;%PATH%
17+
# Install system dependencies
18+
- curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
19+
- set PATH=%USERPROFILE%\.poetry\bin;%PATH%
20+
- make doctor
21+
# Install project dependencies
22+
- make install
23+
24+
build: off
25+
26+
test_script:
27+
- make check
28+
- make test

.coveragerc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[run]
2+
3+
branch = true
4+
5+
data_file = .cache/coverage
6+
7+
omit =
8+
.venv/*
9+
*/tests/*
10+
*/__main__.py
11+
12+
[report]
13+
14+
exclude_lines =
15+
pragma: no cover
16+
raise NotImplementedError
17+
except DistributionNotFound
18+
TYPE_CHECKING

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* text=auto
2+
CHANGELOG.md merge=union

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Temporary Python files
2+
*.pyc
3+
*.egg-info
4+
__pycache__
5+
.ipynb_checkpoints
6+
setup.py
7+
pip-wheel-metadata/
8+
9+
# Temporary OS files
10+
Icon*
11+
12+
# Temporary virtual environment files
13+
/.cache/
14+
/.venv/
15+
16+
# Temporary server files
17+
.env
18+
*.pid
19+
20+
# Generated documentation
21+
/docs/gen/
22+
/docs/apidocs/
23+
/site/
24+
/*.html
25+
/docs/*.png
26+
27+
# Google Drive
28+
*.gdoc
29+
*.gsheet
30+
*.gslides
31+
*.gdraw
32+
33+
# Testing and coverage results
34+
/.coverage
35+
/.coverage.*
36+
/htmlcov/
37+
38+
# Build and release directories
39+
/build/
40+
/dist/
41+
*.spec
42+
43+
# Sublime Text
44+
*.sublime-workspace
45+
46+
# Eclipse
47+
.settings

.isort.cfg

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[settings]
2+
3+
multi_line_output = 3
4+
5+
known_standard_library = dataclasses,typing_extensions
6+
known_third_party = click,log
7+
known_first_party = anvil_api
8+
9+
combine_as_imports = true
10+
force_grid_wrap = false
11+
include_trailing_comma = true
12+
13+
lines_after_imports = 2
14+
line_length = 88

.mypy.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[mypy]
2+
3+
ignore_missing_imports = true
4+
no_implicit_optional = true
5+
check_untyped_defs = true
6+
7+
cache_dir = .cache/mypy/

.pydocstyle.ini

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[pydocstyle]
2+
3+
# D211: No blank lines allowed before class docstring
4+
add_select = D211
5+
6+
# D100: Missing docstring in public module
7+
# D101: Missing docstring in public class
8+
# D102: Missing docstring in public method
9+
# D103: Missing docstring in public function
10+
# D104: Missing docstring in public package
11+
# D105: Missing docstring in magic method
12+
# D107: Missing docstring in __init__
13+
# D202: No blank lines allowed after function docstring
14+
add_ignore = D100,D101,D102,D103,D104,D105,D107,D202

0 commit comments

Comments
 (0)