Zaida Zhou
45fa3e44a2
Add pyupgrade pre-commit hook ( #1937 )
...
* add pyupgrade
* add options for pyupgrade
* minor refinement
2022-05-18 11:47:14 +08:00
Zaida Zhou
6e9ce18323
Add copyright pre-commit-hook ( #1742 )
...
* first commit
* Add copyright pre-commit-hook
2022-02-24 09:24:25 +08:00
lizz
f61295d944
Add test util for checking stand-alone python scripts ( #1007 )
...
* Add test util for checking stand-alone scripts
Signed-off-by: lizz <lizz@sensetime.com>
* Restrict to python scripts
Signed-off-by: lizz <lizz@sensetime.com>
* fix
Signed-off-by: lizz <lizz@sensetime.com>
* tiny
Signed-off-by: lizz <lizz@sensetime.com>
* Allow no capture
Signed-off-by: lizz <lizz@sensetime.com>
* Simplify interface
Signed-off-by: lizz <lizz@sensetime.com>
* Technical notes
Signed-off-by: lizz <lizz@sensetime.com>
* tiny
Signed-off-by: lizz <lizz@sensetime.com>
* Update hello.py
* Update test_testing.py
* Update test_testing.py
2021-05-10 22:15:35 +08:00
congee
905c9b43b8
Add common testing function of MM repos ( #743 )
...
* add testing function
add unittest for check_dict
add unittest for the function in testing
* polish docstring of testing.py
rename some function
* remove in is_all_zeros
* modify the comment of check_dict
* modify the testing.py according to feedback
* add test about numpy for function dict_contains_subset
* applying unified style
2021-01-08 13:18:08 +08:00