diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..a70664e --- /dev/null +++ b/.flake8 @@ -0,0 +1,17 @@ +[flake8] +max-line-length = 88 +based-on-style = "pep8" +column-limit = 88 +ignore = "E203,E510,W503" +indent-width = 4 +spces_beforE_comment = 2 +ALLOW_SPLIT_BEFORE_DICT_VALUE = false +DEDENT_CLOSING_BRACKETS = true +EACH_DICT_ENTRY_ON_SEPARATE_LINE = true +COALESCE_BRACKETS = true +USE_TABS = false +ALLOW_MULTILINE_LAMBDAS = true +BLANK_LINE_BEFORE_NESTED_CLASS_ON_DEF = true +INDENT_DICTIONARY_VALUE = true +SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true +DISABLE_ENDING_COMMA_HEURISTIC = true diff --git a/isort.cfg b/isort.cfg new file mode 100644 index 0000000..d2dc305 --- /dev/null +++ b/isort.cfg @@ -0,0 +1,6 @@ +[settings] +line-length = 88 +multi_line_output = 5 +include_trailing_comma = true +known_future_library = "future" +indent = ' ' ' diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..ad088b8 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,18 @@ +[tool.poetry] +name = "plex-playlist" +version = "0.1.0" +description = "Playlist generator for Plex music" +authors = ["Cliff Hill "] + +[tool.black] +line-length = 88 +target-version = ["py39"] + +[tool.poetry.dependencies] +python = "^3.9" + +[tool.poetry.dev-dependencies] + +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..4e6353d --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +addopts = --cov=xdh --cov-report term-missing:skip-covered