Skip to content

Commit 1780274

Browse files
XDynamesAdrianOrensteinMatthewHowe
committed
Release
Co-authored-by: AdrianOrenstein <adrian.orenstein@gmail.com> Co-authored-by: MatthewHowe <matthew.rob.howe@gmail.com>
0 parents  commit 1780274

200 files changed

Lines changed: 4834 additions & 0 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
test/
2+
3+
# Byte-compiled / optimized / DLL files
4+
__pycache__/
5+
*.py[cod]
6+
*$py.class
7+
8+
# C extensions
9+
*.so
10+
11+
# Distribution / packaging
12+
.Python
13+
build/
14+
develop-eggs/
15+
dist/
16+
downloads/
17+
eggs/
18+
.eggs/
19+
lib/
20+
lib64/
21+
parts/
22+
sdist/
23+
var/
24+
wheels/
25+
pip-wheel-metadata/
26+
share/python-wheels/
27+
*.egg-info/
28+
.installed.cfg
29+
*.egg
30+
MANIFEST
31+
32+
# PyInstaller
33+
# Usually these files are written by a python script from a template
34+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
35+
*.manifest
36+
*.spec
37+
38+
# Installer logs
39+
pip-log.txt
40+
pip-delete-this-directory.txt
41+
42+
# Unit test / coverage reports
43+
htmlcov/
44+
.tox/
45+
.nox/
46+
.coverage
47+
.coverage.*
48+
.cache
49+
nosetests.xml
50+
coverage.xml
51+
*.cover
52+
*.py,cover
53+
.hypothesis/
54+
.pytest_cache/
55+
56+
# Translations
57+
*.mo
58+
*.pot
59+
60+
# Django stuff:
61+
*.log
62+
local_settings.py
63+
db.sqlite3
64+
db.sqlite3-journal
65+
66+
# Flask stuff:
67+
instance/
68+
.webassets-cache
69+
70+
# Scrapy stuff:
71+
.scrapy
72+
73+
# Sphinx documentation
74+
docs/_build/
75+
76+
# PyBuilder
77+
target/
78+
79+
# Jupyter Notebook
80+
.ipynb_checkpoints
81+
82+
# IPython
83+
profile_default/
84+
ipython_config.py
85+
86+
# pyenv
87+
.python-version
88+
89+
# pipenv
90+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
91+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
92+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
93+
# install all needed dependencies.
94+
#Pipfile.lock
95+
96+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
97+
__pypackages__/
98+
99+
# Celery stuff
100+
celerybeat-schedule
101+
celerybeat.pid
102+
103+
# SageMath parsed files
104+
*.sage.py
105+
106+
# Environments
107+
.env
108+
.venv
109+
env/
110+
venv/
111+
ENV/
112+
env.bak/
113+
venv.bak/
114+
115+
# Spyder project settings
116+
.spyderproject
117+
.spyproject
118+
119+
# Rope project settings
120+
.ropeproject
121+
122+
# mkdocs documentation
123+
/site
124+
125+
# mypy
126+
.mypy_cache/
127+
.dmypy.json
128+
dmypy.json
129+
130+
# Pyre type checker
131+
.pyre/
132+
133+
# conda env
134+
envs
135+
.obsidian
136+
.DS_Store
137+
138+
# tracks stuff
139+
tracks/**/*.zip
140+
tracks/**/*.exe
141+
142+
tracks/**/*.ini_
143+
tracks/**/*.candidate
144+
tracks/**/*.opt
145+
146+
tracks/**/*.ini
147+
tracks/**/*.dds
148+
tracks/**/*.png
149+
tracks/**/*.jpg
150+
tracks/**/*.ai
151+
tracks/**/*.kn5
152+
tracks/**/*.csv
153+
tracks/**/*.json
154+
tracks/**/*.fbx
155+
tracks/**/*.mtl
156+
tracks/**/*.obj
157+
158+
# recording stuffs
159+
recordings/**/*.npy
160+
recordings/**/*.jpeg
161+
recordings/**/*.zip
162+
recordings/**/*.bin
163+
164+
# benchmark
165+
.benchmarks/
166+
167+
# analysis
168+
src/analysis/imgs
169+
170+
segmentors
171+
envs/

.pre-push-config.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: black
5+
name: Code Prettifier - Black
6+
entry: ./envs/bin/python3.9 -m black "src/"
7+
language_version: python3.9
8+
language: python
9+
pass_filenames: false
10+
11+
- id: flake8
12+
name: Code Linter - Flake8
13+
entry: ./envs/bin/python3.9 -m flake8 "src/"
14+
args: ['--config=linters/flake8.ini']
15+
language: python
16+
pass_filenames: false
17+
18+
- id: isort
19+
name: Import Sorter - isort
20+
entry: ./envs/bin/python3.9 -m isort "src/"
21+
args: ['--settings-path=linters/isort.ini']
22+
language: python
23+
pass_filenames: false
24+
25+
- id: pytest
26+
name: Automated Unit Tests - PyTest
27+
entry: ./envs/bin/python3.9 -m pytest "src/" -m "not benchmark and not gpu"
28+
args: ['--workers=4']
29+
language: system
30+
pass_filenames: false
31+
always_run: true

0 commit comments

Comments
 (0)