Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sveitser committed May 28, 2018
0 parents commit 4c6d695
Show file tree
Hide file tree
Showing 61 changed files with 5,301 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

use nix

# HACK remove pip from PYTHONPATH so if pipenv updates it the
# one provided by nix doesn't get imported instead.
PYTHONPATH=$(echo "$PYTHONPATH" | sed -e 's/:[^:]*-pip-[^:]*:/:/g')

layout_pipenv
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]

max-line-length = 88
112 changes: 112 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
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/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
.static_storage/
.media/
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# 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

# mypy
.mypy_cache/

out/

# emacs projectile
.projectile

keystore/
Binary file added .keystore
Binary file not shown.
10 changes: 10 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[MESSAGES CONTROL]

disable =
missing-docstring,
redefined-outer-name,
invalid-name,
too-many-arguments,
too-many-locals,
too-many-instance-attributes,
fixme,
13 changes: 13 additions & 0 deletions .solc-colors
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
regexp=Warning:
color=blue
count=stop
-
regexp=Error:
color=red
count=stop
-
regexp=Spanning multiple lines.
skip=yes
-
regexp=.
color=bold
28 changes: 28 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
attrs = "*"
tenacity = "*"
"e1839a8" = {path = ".", editable = true}
"web3" = "==4.0.0"

[dev-packages]
pytest = "*"
pytest-cov = "*"
pylint = "*"
"flake8" = "*"
ipython = "*"
astor = "*"
pytest-lazy-fixture = "*"
python-language-server = {extras = ["all"]}
pyls-isort = "*"
pyls-mypy = "*"
importmagic = "*"
epc = "*"
black = "*"

[pipenv]
allow_prereleases = true
Loading

0 comments on commit 4c6d695

Please sign in to comment.