Skip to content

Commit f36587e

Browse files
committed
Fix typos and linting
Remove redundant excerpt on the documentation Simplify flakehell documentation rules
1 parent b650e82 commit f36587e

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

blobopera/jitter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ class Generator:
5454
1 2 * 5 * 8 9
5555
5656
The mixing algorithm creates a smooth transition between the old
57-
and new templates by cross-fading the overlapping values from the
58-
old and new templates.
57+
and new templates by cross-fading the overlapping values.
5958
6059
Yields:
6160
float: Jitter values.

blobopera/recording.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class TimedPhoneme(proto.Message):
1616
"""Syllable Timed Phoneme - protocol buffer message.
1717
1818
This class represents a timed phoneme, which, basically, holds a member of
19-
the :class`.phoneme.Phoneme` enumeration along with some sort of duration
19+
the :class:`.phoneme.Phoneme` enumeration along with some sort of duration
2020
in an unknown unit of time.
2121
2222
Note:

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ format = "grouped"
6262
max_line_length = 79
6363
show_source = true
6464
per_file_ignores=[""]
65+
exclude = ["documentation/steganography/example.ipynb"]
6566

6667
[tool.flakehell.plugins]
6768
flake8-bandit = ["+*"]
@@ -81,10 +82,6 @@ pycodestyle = ["+*", "-E741", "-E203"]
8182
pyflakes = ["+*"]
8283
pylint = ["+*"]
8384

84-
[tool.flakehell.exceptions."documentation/**"]
85-
pycodestyle = ["-*"]
86-
"*" = ["-*"]
87-
8885
[tool.flakehell.exceptions."tests/*.py"]
8986
flake8-bandit = ["-S101"]
9087
flake8-builtins = ["-A001"]

0 commit comments

Comments
 (0)