Skip to content

Commit 581e9b1

Browse files
committed
initial commit
0 parents  commit 581e9b1

File tree

416 files changed

+42215
-0
lines changed

Some content is hidden

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

416 files changed

+42215
-0
lines changed

.dockerignore

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
__pycache__
2+
.git
3+
.dockerignore
4+
.gitignore
5+
6+
.cache/
7+
.coverage
8+
.storybook-out/
9+
.DS_Store
10+
.venv
11+
*.egg-info
12+
*.pyc
13+
*.log
14+
*.egg
15+
*.db
16+
*.pid
17+
MANIFEST
18+
test.conf
19+
pip-log.txt
20+
package.json
21+
/.artifacts
22+
/coverage/
23+
/cover
24+
/build
25+
/env
26+
/tmp
27+
/node_modules/
28+
/wheelhouse
29+
/test_cli/
30+
.idea/
31+
*.iml
32+
.pytest_cache/
33+
.vscode/tags
34+
coverage.xml
35+
junit.xml
36+
*.codestyle.xml
37+
package-lock.json

.editorconfig

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
root=true
2+
3+
[*]
4+
charset=utf-8
5+
end_of_line=lf
6+
insert_final_newline=false
7+
indent_style=space
8+
indent_size=2
9+
trim_trailing_whitespace=true
10+
11+
[{*.ng,*.sht,*.html,*.shtm,*.shtml,*.htm}]
12+
indent_style=space
13+
indent_size=2
14+
15+
[{*.jhm,*.xslt,*.xul,*.rng,*.xsl,*.xsd,*.ant,*.tld,*.fxml,*.jrxml,*.xml,*.jnlp,*.wsdl}]
16+
indent_style=space
17+
indent_size=2
18+
19+
[{.babelrc,.stylelintrc,jest.config,.eslintrc,.prettierrc,*.json,*.jsb3,*.jsb2,*.bowerrc}]
20+
indent_style=space
21+
indent_size=2
22+
23+
[*.svg]
24+
indent_style=space
25+
indent_size=2
26+
27+
[*.js.map]
28+
indent_style=space
29+
indent_size=2
30+
31+
[*.less]
32+
indent_style=space
33+
indent_size=2
34+
35+
[*.vue]
36+
indent_style=space
37+
indent_size=2
38+
39+
[{.analysis_options,*.yml,*.yaml}]
40+
indent_style=space
41+
indent_size=2

.eslintignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/build/
2+
/config/
3+
/dist/
4+
/*.js
5+
/test/unit/coverage/
6+
/test/
7+
/mock/

.eslintrc.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
extends: [
3+
// add more generic rulesets here, such as:
4+
// 'eslint:recommended',
5+
"plugin:vue/recommended"
6+
],
7+
rules: {
8+
// override/add rules settings here, such as:
9+
// 'vue/no-unused-vars': 'error'
10+
},
11+
parserOptions: {
12+
parser: "babel-eslint",
13+
sourceType: "module"
14+
}
15+
}

.github/workflows/list_and_test.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Python application
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
services:
9+
postgres:
10+
image: postgres
11+
env:
12+
POSTGRES_USER: dispatch
13+
POSTGRES_PASSWORD: dispatch
14+
POSTGRES_DB: dispatch
15+
ports:
16+
- 5432:5432
17+
# needed because the postgres container does not provide a healthcheck
18+
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
19+
steps:
20+
- uses: actions/checkout@v1
21+
- name: Set up Python 3.8
22+
uses: actions/setup-python@v1
23+
with:
24+
python-version: 3.8
25+
- name: Install dependencies
26+
run: |
27+
export DISPATCH_LIGHT_BUILD=1
28+
python -m pip install --upgrade pip
29+
pip install -e ".[dev]"
30+
- name: Run linters
31+
uses: samuelmeuli/lint-action@v1
32+
with:
33+
github_token: ${{ secrets.github_token }}
34+
# Enable linters
35+
black: true
36+
flake8: true
37+
- name: Test with pytest
38+
run: |
39+
pytest

.github/workflows/stale.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'Stale issue message'
17+
stale-pr-message: 'Stale pull request message'
18+
stale-issue-label: 'no-issue-activity'
19+
stale-pr-label: 'no-pr-activity'

.gitignore

+210
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
2+
3+
# Created by https://www.gitignore.io/api/macos,visualstudiocode,python
4+
# Edit at https://www.gitignore.io/?templates=macos,visualstudiocode,python
5+
6+
### macOS ###
7+
# General
8+
.DS_Store
9+
.AppleDouble
10+
.LSOverride
11+
12+
# Icon must end with two \r
13+
Icon
14+
15+
# Thumbnails
16+
._*
17+
18+
# Files that might appear in the root of a volume
19+
.DocumentRevisions-V100
20+
.fseventsd
21+
.Spotlight-V100
22+
.TemporaryItems
23+
.Trashes
24+
.VolumeIcon.icns
25+
.com.apple.timemachine.donotpresent
26+
27+
# Directories potentially created on remote AFP share
28+
.AppleDB
29+
.AppleDesktop
30+
Network Trash Folder
31+
Temporary Items
32+
.apdisk
33+
34+
### Python ###
35+
# Byte-compiled / optimized / DLL files
36+
__pycache__/
37+
*.py[cod]
38+
*$py.class
39+
40+
# C extensions
41+
*.so
42+
43+
# Distribution / packaging
44+
.Python
45+
build/
46+
develop-eggs/
47+
dist/
48+
downloads/
49+
eggs/
50+
.eggs/
51+
lib/
52+
lib64/
53+
parts/
54+
sdist/
55+
var/
56+
wheels/
57+
pip-wheel-metadata/
58+
share/python-wheels/
59+
*.egg-info/
60+
.installed.cfg
61+
*.egg
62+
MANIFEST
63+
64+
# PyInstaller
65+
# Usually these files are written by a python script from a template
66+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
67+
*.manifest
68+
*.spec
69+
70+
# Installer logs
71+
pip-log.txt
72+
pip-delete-this-directory.txt
73+
74+
# Unit test / coverage reports
75+
htmlcov/
76+
.tox/
77+
.nox/
78+
.coverage
79+
.coverage.*
80+
.cache
81+
nosetests.xml
82+
coverage.xml
83+
*.cover
84+
.hypothesis/
85+
.pytest_cache/
86+
87+
# Translations
88+
*.mo
89+
*.pot
90+
91+
# Django stuff:
92+
*.log
93+
local_settings.py
94+
db.sqlite3
95+
96+
# Flask stuff:
97+
instance/
98+
.webassets-cache
99+
100+
# Scrapy stuff:
101+
.scrapy
102+
103+
# Sphinx documentation
104+
docs/_build/
105+
106+
# PyBuilder
107+
target/
108+
109+
# Jupyter Notebook
110+
.ipynb_checkpoints
111+
112+
# IPython
113+
profile_default/
114+
ipython_config.py
115+
116+
# pyenv
117+
.python-version
118+
119+
# pipenv
120+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
121+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
122+
# having no cross-platform support, pipenv may install dependencies that don’t work, or not
123+
# install all needed dependencies.
124+
#Pipfile.lock
125+
126+
127+
# SageMath parsed files
128+
*.sage.py
129+
130+
# Environments
131+
.env
132+
.venv
133+
env/
134+
venv/
135+
ENV/
136+
env.bak/
137+
venv.bak/
138+
139+
# Spyder project settings
140+
.spyderproject
141+
.spyproject
142+
143+
# Rope project settings
144+
.ropeproject
145+
146+
# mkdocs documentation
147+
/site
148+
149+
# mypy
150+
.mypy_cache/
151+
.dmypy.json
152+
dmypy.json
153+
154+
# Pyre type checker
155+
.pyre/
156+
157+
### VisualStudioCode ###
158+
.vscode/*
159+
!.vscode/tasks.json
160+
!.vscode/launch.json
161+
!.vscode/extensions.json
162+
163+
### VisualStudioCode Patch ###
164+
# Ignore all local history of files
165+
.history
166+
167+
### Vuejs ###
168+
# Recommended template: Node.gitignore
169+
170+
node_modules/
171+
npm-debug.log
172+
yarn-error.log
173+
174+
175+
# End of https://www.gitignore.io/api/macos,visualstudiocode,python
176+
177+
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
178+
179+
### Vim ###
180+
# Swap
181+
[._]*.s[a-v][a-z]
182+
[._]*.sw[a-p]
183+
[._]s[a-rt-v][a-z]
184+
[._]ss[a-gi-z]
185+
[._]sw[a-p]
186+
187+
# Session
188+
Session.vim
189+
Sessionx.vim
190+
191+
# Temporary
192+
.netrwhist
193+
*~
194+
# Auto-generated tag files
195+
tags
196+
# Persistent undo
197+
[._]*.un~
198+
.vscode/launch.json
199+
200+
src/dispatch/static/test/unit/coverage/
201+
src/dispatch/static/test/e2e/reports/
202+
assets.json
203+
node_modules/
204+
npm-debug.log*
205+
yarn-debug.log*
206+
yarn.lock
207+
yarn-error.log*
208+
selenium-debug.log
209+
node_modules
210+
release

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12.7.0

.prettierrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 100,
3+
"semi": false,
4+
"singleQuote": false,
5+
"endOfLine": "auto"
6+
}

.travlis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: node_js
2+
node_js: 10
3+
script: npm run test
4+
notifications:
5+
email: false
6+

0 commit comments

Comments
 (0)