forked from tfaehse/DashcamCleaner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add shebang, change argparse, add pre-commit-hooks (tfaehse#10)
* add pre commit hooks, make cli.py executable add shebang * changing argparse * add ffmpeg flag for sperical video, remove added .pt extension if it exists twice * change isort config to multi_line_output=5, remove imported but unused * add shebang to main, signal
- Loading branch information
Showing
15 changed files
with
122 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[flake8] | ||
max_line_length=300 | ||
in-place = true | ||
ignore=W503, # ignore old opposite of W504 | ||
E266, ##### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
__pycache__ | ||
*.log | ||
.vscode |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[settings] | ||
multi_line_output=5 | ||
overwrite_in_place=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[pycodestyle] | ||
max_line_length=300 | ||
in-place = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.1.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-case-conflict | ||
- id: check-docstring-first | ||
- id: check-executables-have-shebangs | ||
- id: check-json | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-merge-conflict | ||
- id: check-xml | ||
- id: mixed-line-ending | ||
- id: requirements-txt-fixer | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: '4.0.1' | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/pycqa/isort | ||
rev: '5.10.1' | ||
hooks: | ||
- id: isort | ||
name: isort | ||
# - repo: https://github.com/pre-commit/mirrors-mypy | ||
# rev: 'v0.931' # Use the sha / tag you want to point at | ||
# hooks: | ||
# - id: mypy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from math import sqrt, floor | ||
from math import floor, sqrt | ||
|
||
|
||
class Box: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
imageio>=2.9.0 | ||
imageio-ffmpeg>=0.4.5 | ||
matplotlib>=3.2.2 | ||
numpy>=1.18.5 | ||
opencv-python>=4.1.2 | ||
Pillow | ||
pandas>=1.2.3 | ||
Pillow | ||
pyside6>=6.2.2.1 | ||
PyYAML>=5.3.1 | ||
requests>=2.25.1 | ||
scipy>=1.4.1 | ||
seaborn>=0.11.1 | ||
tensorboard>=2.4.1 | ||
torch==1.8.1 | ||
torchaudio==0.8.1 | ||
imageio>=2.9.0 | ||
imageio-ffmpeg>=0.4.5 | ||
torchvision>=0.8.1 | ||
tqdm>=4.41.0 | ||
pyside6>=6.2.2.1 | ||
requests>=2.25.1 | ||
pandas>=1.2.3 | ||
seaborn>=0.11.1 | ||
tensorboard>=2.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
|
||
--find-links https://download.pytorch.org/whl/torch_stable.html | ||
imageio>=2.9.0 | ||
imageio-ffmpeg>=0.4.5 | ||
matplotlib>=3.2.2 | ||
numpy>=1.18.5 | ||
opencv-python>=4.1.2 | ||
pandas>=1.2.3 | ||
Pillow | ||
pyside6>=6.2.2.1 | ||
PyYAML>=5.3.1 | ||
requests>=2.25.1 | ||
scipy>=1.4.1 | ||
seaborn>=0.11.1 | ||
tensorboard>=2.4.1 | ||
torch==1.8.1+cu111 | ||
torchaudio==0.8.1 | ||
torchvision>=0.8.1 | ||
imageio>=2.9.0 | ||
imageio-ffmpeg>=0.4.5 | ||
tqdm>=4.41.0 | ||
pyside6>=6.2.2.1 | ||
requests>=2.25.1 | ||
pandas>=1.2.3 | ||
seaborn>=0.11.1 | ||
tensorboard>=2.4.1 | ||
|
||
--find-links https://download.pytorch.org/whl/torch_stable.html |