Skip to content

Commit

Permalink
Merge pull request #62 from arne182/077-clean
Browse files Browse the repository at this point in the history
077 clean
  • Loading branch information
rav4kumar authored Jul 31, 2020
2 parents 5818d74 + 73c20ed commit 039f9c5
Show file tree
Hide file tree
Showing 1,470 changed files with 30,630 additions and 301,805 deletions.
3 changes: 3 additions & 0 deletions .coveragerc-app
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[run]
concurrency=multiprocessing

25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
## discription
Please make a PR against the dev branch usually called something like 075-clean then remove this sentence and add a discription
Please make a PR against the dev branch usually called something like 077-clean then remove this sentence and add a discription
27 changes: 26 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,25 @@ selfdrive/mapd/MapsdThread-Thread.log.2
selfdrive/mapd/MapsdThread-Thread.log.3
selfdrive/mapd/MapsdThread-Thread.log.4
selfdrive/mapd/MapsdThread-Thread.log.5
selfdrive/trafficd/trafficd
selfdrive/mapd/MessagedArneThread-Thread.log
selfdrive/mapd/MessagedArneThread-Thread.log.1
selfdrive/mapd/MessagedArneThread-Thread.log.2
selfdrive/mapd/MessagedArneThread-Thread.log.3
selfdrive/mapd/MessagedArneThread-Thread.log.4
selfdrive/mapd/MessagedArneThread-Thread.log.5
selfdrive/mapd/MessagedGPSThread-Thread.log
selfdrive/mapd/MessagedGPSThread-Thread.log.1
selfdrive/mapd/MessagedGPSThread-Thread.log.2
selfdrive/mapd/MessagedGPSThread-Thread.log.3
selfdrive/mapd/MessagedGPSThread-Thread.log.4
selfdrive/mapd/MessagedGPSThread-Thread.log.5
selfdrive/mapd/MessagedThread-Thread.log
selfdrive/mapd/MessagedThread-Thread.log.1
selfdrive/mapd/MessagedThread-Thread.log.2
selfdrive/mapd/MessagedThread-Thread.log.3
selfdrive/mapd/MessagedThread-Thread.log.4
selfdrive/mapd/MessagedThread-Thread.log.5
selfdrive/trafficd/_trafficd
phonelibs/libjson.a
phonelibs/libjson11.a
phonelibs/nanovg/nanovg.o
Expand All @@ -71,8 +89,15 @@ openpilot
notebooks
xx
panda_jungle
apks
openpilot-apks

.coverage*
coverage.xml
htmlcov
pandaextra

.mypy_cache/
flycheck_*

cppcheck_report.txt
46 changes: 46 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: master
hooks:
- id: check-ast
- id: check-json
- id: check-xml
- id: check-yaml
- id: check-merge-conflict
- id: check-symlinks
- repo: https://github.com/pre-commit/mirrors-mypy
rev: master
hooks:
- id: mypy
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(opendbc)|(laika_repo)|(rednose_repo)/'
additional_dependencies: ['git+https://github.com/numpy/numpy-stubs']
- repo: https://github.com/PyCQA/flake8
rev: master
hooks:
- id: flake8
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(opendbc)|(laika_repo)|(rednose_repo)|(selfdrive/debug)/'
args:
- --select=F,E112,E113,E304,E501,E502,E701,E702,E703,E71,E72,E731,W191,W6
- --max-line-length=240
- --statistics
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
exclude: '^(pyextra)|(external)|(cereal)|(rednose)|(panda)|(laika)|(laika_repo)|(rednose_repo)/'
- repo: local
hooks:
- id: cppcheck
name: cppcheck
entry: cppcheck
language: system
types: [c++]
exclude: '^(phonelibs)|(external)|(cereal)|(opendbc)|(panda)|(tools)|(selfdrive/modeld/thneed/debug)|(selfdrive/modeld/test)|(selfdrive/camerad/test)/'
args:
- --error-exitcode=1
- --quiet
- --force
- -j8
Loading

0 comments on commit 039f9c5

Please sign in to comment.