Unverified Commit bc3f8f6c authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

add pre-commit hooks for convenient formatting checks (#4387)



* add pre-commit hooks

* ignore yamls in packaging/*

* add pre-commit to contributing guide lines

* Update CONTRIBUTING.md
Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>

* remove some hooks

* fix docstrings

* fix end of files
Co-authored-by: default avatarNicolas Hug <contact@nicolas-hug.com>
parent c359d8d5
...@@ -112,8 +112,8 @@ DecoderResult = collections.namedtuple( ...@@ -112,8 +112,8 @@ DecoderResult = collections.namedtuple(
"DecoderResult", "vframes vframe_pts vtimebase aframes aframe_pts atimebase" "DecoderResult", "vframes vframe_pts vtimebase aframes aframe_pts atimebase"
) )
"""av_seek_frame is imprecise so seek to a timestamp earlier by a margin # av_seek_frame is imprecise so seek to a timestamp earlier by a margin
The unit of margin is second""" # The unit of margin is second
seek_frame_margin = 0.25 seek_frame_margin = 0.25
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment