Adding settings for project.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2021-05-11 11:28:42 -04:00
parent ee04dda949
commit d5efae2c6a
4 changed files with 43 additions and 0 deletions

17
.flake8 Normal file
View File

@@ -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

6
isort.cfg Normal file
View File

@@ -0,0 +1,6 @@
[settings]
line-length = 88
multi_line_output = 5
include_trailing_comma = true
known_future_library = "future"
indent = ' ' '

18
pyproject.toml Normal file
View File

@@ -0,0 +1,18 @@
[tool.poetry]
name = "plex-playlist"
version = "0.1.0"
description = "Playlist generator for Plex music"
authors = ["Cliff Hill <xlorep@darkhelm.org>"]
[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"

2
pytest.ini Normal file
View File

@@ -0,0 +1,2 @@
[pytest]
addopts = --cov=xdh --cov-report term-missing:skip-covered