Skip to content

Commit

Permalink
Remove flake8 docstrings and its exclusion rules (#5234)
Browse files Browse the repository at this point in the history
  • Loading branch information
snejus committed Jun 16, 2024
2 parents 076ec6f + fa788e2 commit 6b63a30
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 145 deletions.
34 changes: 1 addition & 33 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ black = ">=24.3,<25"

[tool.poetry.group.lint.dependencies]
flake8 = "*"
flake8-docstrings = "*"
pep8-naming = "*"

[tool.poetry.group.typing.dependencies]
Expand Down
112 changes: 1 addition & 111 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exclude_lines =
show_contexts = true

[flake8]
min-version = 3.6
min-version = 3.8
accept-encodings = utf-8
max-line-length = 88
docstring-convention = google
Expand Down Expand Up @@ -59,116 +59,6 @@ ignore =
# Exclude rules for black compatibility
E203,
E704,
per-file-ignores =
./beet:D
./docs/conf.py:D
./extra/release.py:D
./beetsplug/aura.py:D
./beetsplug/duplicates.py:D
./beetsplug/bpm.py:D
./beetsplug/autobpm.py:D
./beetsplug/convert.py:D
./beetsplug/info.py:D
./beetsplug/parentwork.py:D
./beetsplug/deezer.py:D
./beetsplug/smartplaylist.py:D
./beetsplug/absubmit.py:D
./beetsplug/subsonicupdate.py:D
./beetsplug/fromfilename.py:D
./beetsplug/mpdstats.py:D
./beetsplug/gmusic.py:D
./beetsplug/subsonicplaylist.py:D
./beetsplug/rewrite.py:D
./beetsplug/hook.py:D
./beetsplug/playlist.py:D
./beetsplug/ftintitle.py:D
./beetsplug/bpd/gstplayer.py:D
./beetsplug/bpd/__init__.py:D
./beetsplug/scrub.py:D
./beetsplug/sonosupdate.py:D
./beetsplug/embyupdate.py:D
./beetsplug/plexupdate.py:D
./beetsplug/mbsync.py:D
./beetsplug/lyrics.py:D
./beetsplug/inline.py:D
./beetsplug/freedesktop.py:D
./beetsplug/acousticbrainz.py:D
./beetsplug/beatport.py:D
./beetsplug/cue.py:D
./beetsplug/thumbnails.py:D
./beetsplug/random.py:D
./beetsplug/loadext.py:D
./beetsplug/replaygain.py:D
./beetsplug/export.py:D
./beetsplug/fuzzy.py:D
./beetsplug/importadded.py:D
./beetsplug/web/__init__.py:D
./beetsplug/bucket.py:D
./beetsplug/the.py:D
./beetsplug/ihate.py:D
./beetsplug/bench.py:D
./beetsplug/permissions.py:D
./beetsplug/spotify.py:D
./beetsplug/lastgenre/__init__.py:D
./beetsplug/limit.py:D
./beetsplug/mbcollection.py:D
./beetsplug/metasync/amarok.py:D
./beetsplug/metasync/itunes.py:D
./beetsplug/metasync/__init__.py:D
./beetsplug/importfeeds.py:D
./beetsplug/kodiupdate.py:D
./beetsplug/zero.py:D
./beetsplug/bpsync.py:D
./beetsplug/__init__.py:D
./beetsplug/edit.py:D
./beetsplug/types.py:D
./beetsplug/embedart.py:D
./beetsplug/mpdupdate.py:D
./beetsplug/ipfs.py:D
./beetsplug/discogs.py:D
./beetsplug/chroma.py:D
./beetsplug/fish.py:D
./beetsplug/missing.py:D
./beetsplug/fetchart.py:D
./beetsplug/mbsubmit.py:D
./beetsplug/filefilter.py:D
./beetsplug/badfiles.py:D
./beetsplug/play.py:D
./beetsplug/keyfinder.py:D
./beetsplug/unimported.py:D
./beetsplug/lastimport.py:D
./test/*:D
./setup.py:D
./beets/ui/__init__.py:D
./beets/ui/commands.py:D
./beets/autotag/mb.py:D
./beets/autotag/hooks.py:D
./beets/autotag/__init__.py:D
./beets/autotag/match.py:D
./beets/__main__.py:D
./beets/importer.py:D
./beets/plugins.py:D
./beets/test/*:D
./beets/util/bluelet.py:D
./beets/util/enumeration.py:D
./beets/util/artresizer.py:D
./beets/util/functemplate.py:D
./beets/util/confit.py:D
./beets/util/pipeline.py:D
./beets/util/hidden.py:D
./beets/util/__init__.py:D
./beets/library.py:D
./beets/random.py:D
./beets/art.py:D
./beets/logging.py:D
./beets/vfs.py:D
./beets/__init__.py:D
./beets/dbcore/query.py:D
./beets/dbcore/db.py:D
./beets/dbcore/__init__.py:D
./beets/dbcore/queryparse.py:D
./beets/dbcore/types.py:D
./beets/mediafile.py:D

[mypy]
files = beets,beetsplug,test,extra,docs
Expand Down

0 comments on commit 6b63a30

Please sign in to comment.