1
0
mirror of https://github.com/kkroening/ffmpeg-python.git synced 2025-04-06 04:15:44 +08:00

5 Commits

Author SHA1 Message Date
Christian Clauss
35886c970c
Upgrade GitHub Actions again () 2022-07-11 14:02:31 -07:00
Karl Kroening
ef00863269
Fix Black in GHA for Python 2.7 ()
(At least until Python 2.7 support is finally eliminated)
2022-07-11 13:51:06 -07:00
Christian Clauss
ed70f2e619
Upgrade GitHub Actions () 2022-07-11 13:39:36 -07:00
Karthikeyan Singaravelan
6189cd6861
Import ABC from collections.abc for Python 3.9+ compatibility ()
* Import ABC from collections.abc instead of collections for Python 3.9 compatibility.

* Fix deprecation warnings due to invalid escape sequences.

* Support Python 3.10

Co-authored-by: Karl Kroening <karlk@kralnet.us>
2022-03-07 01:46:52 -08:00
Karl Kroening
29b6f09298
Use GitHub Actions for CI. ()
This sets up GitHub Actions (GHA) to run in place of the
currently broken Travis CI.  Initially, this only covers running
tox/pytest and Black, but may eventually be extended to run pylint,
mypy, flake8, etc. - see , for example.

Notes:
* Python 3.10 is not yet supported due to the `collections.Iterable`
  issue discussed in , , etc.
* The Black CI step acts as a linting step, rather than attempting to
  have the GHA job automatically update/commit/push the reformarted
  code.
* Black is currently pinned to an older version that supports
  `--target-version py27` until Python 2 compatibility can be dropped in
  the final Python 2 compatibility release of ffmpeg-python.
* Only the main source directory (`ffmpeg/`) is checked with Black at
  the moment.  The `examples/` directory should also be checked, but
  will be done as a separate PR.

Co-authored by: Christian Clauss <cclauss@me.com>
2022-03-07 00:05:43 -08:00