Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
pikhovkin committed Sep 30, 2018
0 parents commit dfc278e
Show file tree
Hide file tree
Showing 107 changed files with 7,882 additions and 0 deletions.
74 changes: 74 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
version: 2

jobs:
"python-2.7": &test-template
docker:
- image: circleci/python:2.7-stretch-browsers
environment:
REQUIREMENTS_FILE: dev-requirements.txt
PYLINTRC: .pylintrc
TOX: py27,py27dj{109,110,111,200,201}
TOX_PYTHON_27: python

steps:
- checkout

- run:
name: Write deps cache key
command: cat "$REQUIREMENTS_FILE" > reqs.txt

- run:
name: Write job name
command: echo $CIRCLE_JOB > circlejob.txt

- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "reqs.txt" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }}

- run:
name: Install dependencies
command: |
sudo pip install virtualenv
virtualenv venv
. venv/bin/activate
pip install tox
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "reqs.txt" }}-{{ checksum ".circleci/config.yml" }}-{{ checksum "circlejob.txt" }}
paths:
- "venv"
- ".tox"

- run:
name: Run tox
command: |
. venv/bin/activate
tox tox.ini -e $TOX
"python-3.6":
<<: *test-template
docker:
- image: circleci/python:3.6-stretch-browsers
environment:
REQUIREMENTS_FILE: dev-requirements.txt
PYLINTRC: .pylintrc
TOX: py36,py36dj{109,110,111,200,201}
TOX_PYTHON_36: python

"python-3.7":
<<: *test-template
docker:
- image: circleci/python:3.7-stretch-browsers
environment:
REQUIREMENTS_FILE: dev-requirements.txt
PYLINTRC37: .pylintrc37
TOX: py37,py37dj{109,110,111,200,201}
TOX_PYTHON_37: python


workflows:
version: 2
build:
jobs:
- "python-2.7"
- "python-3.6"
- "python-3.7"
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 120
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Thanks so much for your interest in Dash!
Before you post an issue here, could you quickly search for your
issue in the Dash community forum? https://community.plot.ly/c/dash
GitHub issues are great for bug reports, the community forum is great for
implementation questions. When in doubt, creating feel free to just post the
issue here :)
Thanks, and welcome to Dash!
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
*.pyc
*.ipynb_notebooks
*.ipynb
ignore
*~
venv
build/
dist/
lib/
node_modules/
.npm
vv/
venv/
*.pyc
*.egg-info
*.log
.DS_Store
dist
*egg-info*
npm-debug*
/.tox
.idea
Loading

0 comments on commit dfc278e

Please sign in to comment.