Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
eterna2 committed Oct 12, 2020
0 parents commit 00944e0
Show file tree
Hide file tree
Showing 24 changed files with 3,145 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[run]
branch = True
source = e2fyi
omit =
**/*_test.py
**/__init__.py

[report]
fail_under = 50
show_missing = True
3 changes: 3 additions & 0 deletions .envfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PIPENV_DEFAULT_PYTHON_VERSION=3.6
PIPENV_VENV_IN_PROJECT=true
MYPYPATH=stubs/
10 changes: 10 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# incase .env does not exist
touch .env

# export all env defined
set -o allexport
source .envfile
source .env
set +o allexport

layout poetry
7 changes: 7 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[flake8]
ignore = C408,E203,E501
exclude =
.venv,
.git,
max-complexity = 10
max-line-length = 88
117 changes: 117 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
.idea/
tmp/
venv_python/
.DS_Store
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
# instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# celery beat schedule file
# celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
# /site

# Pyre type checker
.pyre/
examples/tmp.py

# mypy
.mypy_cache

# documentations
docs/
16 changes: 16 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[settings]
line_length=88
force_to_top=
skip=**/*_grpc.py,**/*_pb2.py
known_future_library=
known_standard_library=
known_third_party=magic,toolz,cytoolz
known_first_party=
indent=' '
multi_line_output=3
length_sort=1
forced_separate=
lines_between_types=1
default_section=FIRSTPARTY
no_lines_before=LOCALFOLDER
include_trailing_comma=true

0 comments on commit 00944e0

Please sign in to comment.