Skip to content

Commit

Permalink
Add tests modules docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Jun 2, 2021
1 parent 67b4d6c commit 4713581
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ per-file-ignores =
moviepy/audio/fx/*.py: D100
moviepy/video/fx/*.py: D100
# tests doesn't require docstring (although is recommended)
tests/*.py: D101,D102,D103
tests/*.py: D100,D101,D102,D103
# examples don't require module docstring
# allow 'from moviepy import *' in examples
examples/*.py: D100, F403, F405
Expand Down
2 changes: 2 additions & 0 deletions tests/test_BitmapClip.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""BitmapClip tests."""

import numpy as np
import pytest

Expand Down
2 changes: 2 additions & 0 deletions tests/test_Clip.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Clip tests."""

import copy

import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions tests/test_TextClip.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""TextClip tests."""

import pytest

from moviepy.utils import close_all_clips
Expand Down
2 changes: 2 additions & 0 deletions tests/test_VideoClip.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""VideoClip tests."""

import copy
import os

Expand Down
2 changes: 2 additions & 0 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Examples tests."""

import os

import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions tests/test_fx.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""MoviePy effects tests."""

import decimal
import importlib
import math
Expand Down

0 comments on commit 4713581

Please sign in to comment.