|
| 1 | +[tool.poetry] |
| 2 | +name = "hubitatcontrol" |
| 3 | +version = "v3.0.2" |
| 4 | +description = "Hubitat Maker API Interface" |
| 5 | +authors = [ "Jelloeater <[email protected]>"] |
| 6 | +license = "MIT License" |
| 7 | +readme = "README.md" |
| 8 | +homepage = "https://pypi.org/project/hubitatcontrol" |
| 9 | +repository = "https://github.com/Jelloeater/hubitatcontrol" |
| 10 | +documentation = "https://github.com/Jelloeater/hubitatcontrol/tree/main/docs" |
| 11 | +keywords = ["hubitat", "makerapi","requests"] |
| 12 | +classifiers = ["Development Status :: 5 - Production/Stable", |
| 13 | + "Environment :: No Input/Output (Daemon)", |
| 14 | + "Topic :: Home Automation", |
| 15 | + "Intended Audience :: Developers", |
| 16 | + "Operating System :: OS Independent", |
| 17 | +] |
| 18 | + |
| 19 | +[tool.poetry.scripts] |
| 20 | +hubitatcontrol = "hubitatcontrol.__main__:app" |
| 21 | + |
| 22 | + |
| 23 | +[tool.poetry.dependencies] |
| 24 | +python = "^3.10" |
| 25 | +requests = "2.32.3" |
| 26 | +typer = "*" |
| 27 | +prettytable = "*" |
| 28 | +keyring = "^23.13.1" |
| 29 | + |
| 30 | +[tool.pytest.ini_options] |
| 31 | +pythonpath = ["."] |
| 32 | +testpaths = "test/" |
| 33 | +log_cli = true |
| 34 | +log_cli_level = "DEBUG" |
| 35 | +log_cli_format = "[%(asctime)s] [%(levelname)8s] --- %(message)s (%(filename)s:%(funcName)s():%(lineno)s)" |
| 36 | +log_cli_date_format = "%Y-%m-%d %H:%M:%S" |
| 37 | + |
| 38 | +[tool.coverage.run] |
| 39 | +omit = [ |
| 40 | + "tests/*", |
| 41 | +] |
| 42 | + |
| 43 | + |
| 44 | +[tool.black] |
| 45 | +line-length = 120 |
| 46 | +skip-string-normalization = true |
| 47 | + |
| 48 | +[tool.flake8] |
| 49 | +exclude =['./tests'] |
| 50 | +max-line-length = 120 |
| 51 | +count = false |
| 52 | +statistics = true |
| 53 | +diff = true |
| 54 | +format = "pylint" |
| 55 | + |
| 56 | +[tool.autoflake] |
| 57 | +check = true |
| 58 | +in-place = true |
| 59 | +expand-star-imports = false |
| 60 | +remove-unused-variables = true |
| 61 | +remove-duplicate-keys = true |
| 62 | +ignore-init-module-imports = false |
| 63 | +recursive = true |
| 64 | + |
| 65 | +[tool.isort] |
| 66 | +multi_line_output = 3 |
| 67 | +include_trailing_comma = "True" |
| 68 | +force_grid_wrap = 0 |
| 69 | +use_parentheses = "True" |
| 70 | +line_length = 120 |
| 71 | +profile = "black" |
| 72 | + |
| 73 | +[tool.tartufo] |
| 74 | +repo-path = "." |
| 75 | +regex = true |
| 76 | +entropy = true |
| 77 | +exclude-path-patterns = [ |
| 78 | + {path-pattern = 'poetry\.lock'}, |
| 79 | + {path-pattern = 'pyproject\.toml'}, |
| 80 | + # To not have to escape `\` in regexes, use single quoted |
| 81 | + # TOML 'literal strings' |
| 82 | + {path-pattern = 'docs/source/(.*)\.rst'}, |
| 83 | +] |
| 84 | +exclude-entropy-patterns = [ |
| 85 | + {path-pattern = '\.github/workflows/.*\.yml', pattern = 'uses: .*@[a-zA-Z0-9]{40}', reason = 'GitHub Actions'}, |
| 86 | + {path-pattern = 'poetry\.lock', pattern = '.'}, |
| 87 | + {path-pattern = 'Pipfile\.lock', pattern = '.'}, |
| 88 | + {path-pattern = 'README\.md', pattern = '.'}, |
| 89 | + {path-pattern = 'index\.rst', pattern = '.'}, |
| 90 | + {path-pattern = 'techstack\.yml', pattern = '.'}, |
| 91 | + {path-pattern = 'techstack\.md', pattern = '.'}, |
| 92 | + |
| 93 | +] |
| 94 | + |
| 95 | +[tool.poetry.group.test.dependencies] |
| 96 | +setuptools = "*" |
| 97 | +pytest = "*" |
| 98 | +pytest-cov = "*" |
| 99 | +python-dotenv = "*" |
| 100 | + |
| 101 | +[tool.poetry.group.dev.dependencies] |
| 102 | +pytest-pycharm = "*" |
| 103 | +autoflake = "*" |
| 104 | +pre-commit = "*" |
| 105 | +vulture = "*" |
| 106 | +isort = "*" |
| 107 | +xenon = "*" |
| 108 | +black = "*" |
| 109 | +typing_extensions ="*" |
| 110 | +#typeguard ="*" # Typing |
| 111 | +#mypy = "*" # Typing |
| 112 | +pdoc3 = "*" |
| 113 | +pylint = "*" |
| 114 | +bandit = "*" |
| 115 | +whispers = "*" |
| 116 | +mdformat-gfm ="*" |
| 117 | +mdformat-frontmatter ="*" |
| 118 | +flake8 = "*" |
| 119 | +Flake8-pyproject="*" |
| 120 | +tartufo="*" |
| 121 | +mdToRst = "*" |
| 122 | + |
| 123 | +[build-system] |
| 124 | +requires = ["poetry-core"] |
| 125 | +build-backend = "poetry.core.masonry.api" |
0 commit comments