A complete gutting of the internals of ytdl-sub to support functions in our variable syntax, in addition to being able to access a yt-dlp entry's .info.json fields using functions. Functionally, ytdl-sub should still look and behave the same from a user-perspective. With so many lines of code changed (+8927, -2708), no doubt there will be new issues. Please make a GH issue or reach out on Discord if your config/subscriptions break in any way/shape/form. Details on how to use function support will come soon in the form of proper documentation in our readthedocs.
51 lines
No EOL
1.2 KiB
TOML
51 lines
No EOL
1.2 KiB
TOML
[tool.isort]
|
|
profile = "black"
|
|
line_length = 100
|
|
force_single_line = true
|
|
|
|
[tool.black]
|
|
line_length = 100
|
|
target-version = ["py310"]
|
|
|
|
[tool.pylint.MASTER]
|
|
disable = [
|
|
"C0115", # Missing class docstring
|
|
"C0114", # missing-module-docstring
|
|
"R0903", # too-few-public-methods
|
|
"R0801", # similar lines
|
|
"R0913", # Too many arguments
|
|
"R0901", # too-many-ancestors
|
|
"R0902", # too-many-instance-attributes
|
|
"R1711", # useless-return
|
|
"W0511", # TODO
|
|
]
|
|
|
|
load-plugins = "pylint.extensions.docparams"
|
|
|
|
[tool.pydocstyle]
|
|
inherit = false
|
|
match = "[^test_].*\\.py"
|
|
ignore = [
|
|
"D100", # docstring in public module
|
|
"D101", # Missing docstring in public class (covered by pylint)
|
|
"D104", # docstring in public package
|
|
"D107", # docstring in init
|
|
"D200", # One-line should fit on one line
|
|
"D203", # 1 blank line before class docstring
|
|
"D205", # 1 blank line between summary and description
|
|
"D212", # Multi-line should start at first line
|
|
"D400", # Should end with a period
|
|
"D401", # Return vs Returns
|
|
"D413", # Missing blank line after last section
|
|
"D415", # Should end with a period
|
|
]
|
|
|
|
[tool.coverage.run]
|
|
include = [
|
|
"src/*"
|
|
]
|
|
|
|
[tool.coverage.report]
|
|
exclude_also = [
|
|
"raise UNREACHABLE.*",
|
|
] |