diff --git a/poetry.lock b/poetry.lock index 5050302ff3..1e3b4cd1d0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -648,21 +648,6 @@ mccabe = ">=0.7.0,<0.8.0" pycodestyle = ">=2.9.0,<2.10.0" pyflakes = ">=2.5.0,<2.6.0" -[[package]] -name = "flake8-docstrings" -version = "1.7.0" -description = "Extension for flake8 which uses pydocstyle to check docstrings" -optional = false -python-versions = ">=3.7" -files = [ - {file = "flake8_docstrings-1.7.0-py2.py3-none-any.whl", hash = "sha256:51f2344026da083fc084166a9353f5082b01f72901df422f74b4d953ae88ac75"}, - {file = "flake8_docstrings-1.7.0.tar.gz", hash = "sha256:4c8cc748dc16e6869728699e5d0d685da9a10b0ea718e090b1ba088e67a941af"}, -] - -[package.dependencies] -flake8 = ">=3" -pydocstyle = ">=2.1" - [[package]] name = "flask" version = "3.0.3" @@ -1815,23 +1800,6 @@ dev = ["nox", "pre-commit", "pydata-sphinx-theme[doc,test]", "pyyaml"] doc = ["ablog (>=0.11.0rc2)", "colorama", "ipykernel", "ipyleaflet", "jupyter_sphinx", "jupyterlite-sphinx", "linkify-it-py", "matplotlib", "myst-parser", "nbsphinx", "numpy", "numpydoc", "pandas", "plotly", "rich", "sphinx-autoapi (>=3.0.0)", "sphinx-copybutton", "sphinx-design", "sphinx-favicon (>=1.0.1)", "sphinx-sitemap", "sphinx-togglebutton", "sphinxcontrib-youtube (<1.4)", "sphinxext-rediraffe", "xarray"] test = ["pytest", "pytest-cov", "pytest-regressions"] -[[package]] -name = "pydocstyle" -version = "6.3.0" -description = "Python docstring style checker" -optional = false -python-versions = ">=3.6" -files = [ - {file = "pydocstyle-6.3.0-py3-none-any.whl", hash = "sha256:118762d452a49d6b05e194ef344a55822987a462831ade91ec5c06fd2169d019"}, - {file = "pydocstyle-6.3.0.tar.gz", hash = "sha256:7ce43f0c0ac87b07494eb9c0b462c0b73e6ff276807f204d6b53edc72b7e44e1"}, -] - -[package.dependencies] -snowballstemmer = ">=2.2.0" - -[package.extras] -toml = ["tomli (>=1.2.3)"] - [[package]] name = "pyflakes" version = "2.5.0" @@ -2752,4 +2720,4 @@ web = ["flask", "flask-cors"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4" -content-hash = "4ae4e4157dd4a0c7951ba1f642c8dc36ae8ca264789b2a224ecaaf5e3a2f289a" +content-hash = "740281ee3ddba4c6015eab9cfc24bb947e8816e3b7f5a6bebeb39ff2413d7ac3" diff --git a/pyproject.toml b/pyproject.toml index 86d5be9e7f..3ef11ac148 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,7 +87,6 @@ black = ">=24.3,<25" [tool.poetry.group.lint.dependencies] flake8 = "*" -flake8-docstrings = "*" pep8-naming = "*" [tool.poetry.group.typing.dependencies] diff --git a/setup.cfg b/setup.cfg index 8f127e8e43..b91c84bda3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 @@ -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