Adeeb Shihadeh
597535c014
linter: don't allow implicitly concatenated strings ( #23513 )
...
* linter: don't allow implicitly concatenated strings
* fix hyundai
old-commit-hash: 2c94f15584
3 years ago
Adeeb Shihadeh
88f0be8372
add pre-commit hook for large files ( #23505 )
...
old-commit-hash: ee52a61c7d
3 years ago
Adeeb Shihadeh
63d9bed046
pre-commit: fix exclude patterns ( #23375 )
...
old-commit-hash: a1a9a0f342
3 years ago
Adeeb Shihadeh
efa7998d5f
update pre-commit hook versions ( #22526 )
...
* update pre-commit hook versions
* fix mypy
old-commit-hash: a255449539
4 years ago
Adeeb Shihadeh
782d7023d2
phonelibs -> third_party ( #22477 )
...
* git mv to third_party
* find and replace
* fix release tests
* update pre-commit
* update tici bins
* update eon bins
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b641379ae
4 years ago
Adeeb Shihadeh
760cdcd896
Honda cleanup ( #22008 )
...
* cleanup magic numbers
* long tuning
* indentation
* remove noqa
* little more
old-commit-hash: 9e03aa0b92
4 years ago
Adeeb Shihadeh
03405b81fd
acados support ( #21319 )
...
* acados support
* add pyextra to python path
* x86 libs
old-commit-hash: 6e4c2aa4d2
4 years ago
Adeeb Shihadeh
d366d2abeb
pin pre-commit hook versions
...
old-commit-hash: 9fbac812e4
4 years ago
Adeeb Shihadeh
bc9891b651
external cleanup ( #19647 )
...
* remove external
* put back ffmpeg for now
old-commit-hash: 1669e4a5d1
4 years ago
Willem Melching
9ac982ea34
fix cppcheck on ubuntu 19.10
...
old-commit-hash: 5f59fd4f40
5 years ago
Adeeb Shihadeh
d8adab2ce5
enable flake8 F error codes
...
old-commit-hash: d204d87b95
5 years ago
Adeeb Shihadeh
0891b1331d
Add cppcheck as a pre-commit hook ( #1646 )
...
* add cppcheck as a pre-commit hook
* fix Dockerfile
* update precommit config
* exclude panda and opendbc
old-commit-hash: 3c461ca5cc
5 years ago
Adeeb Shihadeh
35fe5fa31b
remove trailing whitespace pre-commi hook for now
...
old-commit-hash: c454bff2f8
5 years ago
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
5 years ago
Willem Melching
dbdbef72d6
vehicle model types ( #1631 )
...
old-commit-hash: 2400417084
5 years ago
Adeeb
d035394ce7
Add pre-commit hooks ( #1629 )
...
old-commit-hash: ab83e48ec4
5 years ago
George Hotz
710710364d
fetch image from route script
...
old-commit-hash: d1d2984f36
5 years ago
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
5 years ago
Adeeb Shihadeh
37a67a2a14
enable flake8 E502: backslash is redundant between brackets
...
old-commit-hash: 6466ec982a
5 years ago
Adeeb Shihadeh
8b3418b0f9
enable flake8 E251: unexpected spaces around keyword / parameter equals
...
old-commit-hash: ebed2d1dcc
5 years ago
Adeeb Shihadeh
9823f1164c
enable flake8 E303: too many blank lines
...
old-commit-hash: f3dcf861c7
5 years ago
Adeeb Shihadeh
68a3061c9d
enable E261 in flake8: two spaces before inline comment
...
old-commit-hash: 27754a277c
5 years ago
Adeeb Shihadeh
be0b43f339
enable flake8 E231: missing whitespace after comma
...
old-commit-hash: efd5dffb1e
5 years ago
Adeeb
7965569766
Flake8 E22X ( #1607 )
...
* e221
* e225
* bump opendbc
old-commit-hash: 6051061ff8
5 years ago
Adeeb
5e857427ba
Enable more flake8 checks ( #1602 )
...
* enable some more flake8 checks
* some more quick ones
* bump opendbc
* e401
* e711 e712
* e115 e116
* e222
* e301
* remove that
* e129
* e701 e702
* e125 e131
* e227
* e306
* e262
* W503
* e713
* e704
* e731
* bump opendbc
* fix some e722
old-commit-hash: d9bf9f0a40
5 years ago
Willem Melching
8a32bd3c41
use github url instead of gitlab mirror
...
old-commit-hash: 266dfe5a9b
5 years ago
Willem Melching
2ac27def5a
Running pre-commit in CI ( #1590 )
...
* Running pre-commit in CI
* fix dockerfile syntax
* dont run on submodule repo folders
* Fix some import errors in ci
* more stuff
* That should be the last one
old-commit-hash: ba2ac1207a
5 years ago
Willem Melching
2b60ee9531
Run mypy commit hook ( #1591 )
...
* run mypy commit hook
* fix mypy errors
old-commit-hash: 3d08dcc3b2
5 years ago
Willem Melching
12a306021d
flake8 in pre-commit( #1583 )
...
old-commit-hash: 29aaa44740
5 years ago
Willem Melching
c0866d9edb
pre-commit pylint ( #1580 )
...
* "The commit-hook project sounds interesting though. I would definitely merge something that runs flake8 and pylint on the modified files!"
- pd0wm, https://github.com/commaai/openpilot/pull/1575#issuecomment-634974344
* add pylint to pre-commit and make everything pass
* Remove uncommented stuff
Co-authored-by: J <user@4800.lan>
old-commit-hash: bd06434243
5 years ago