Skip to content

Commit

Permalink
pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouwh committed Jan 4, 2025
1 parent 5f6e2bc commit c38f75e
Showing 1 changed file with 56 additions and 53 deletions.
109 changes: 56 additions & 53 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ repository = "https://github.com/jbouwh/incomfort-client"
documentation = "https://github.com/jbouwh/incomfort-client"
keywords = ["incomfort", "api", "async", "client"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Home Automation",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Home Automation",
]
packages = [
{ include = "incomfortclient", from = "src" },
{include= "incomfortclient", from = "src"},
]

[tool.poetry.dependencies]
Expand Down Expand Up @@ -60,6 +60,9 @@ pre-commit-hooks = "^4.6.0"
"Bug Tracker" = "https://github.com/jbouwh/incomfort-client/issues"
Changelog = "https://github.com/jbouwh/incomfort-client/releases"

[tool.pytest.ini_options]
pythonpath = ["src"]

[tool.coverage.report]
show_missing = true
fail_under = 50
Expand Down Expand Up @@ -100,49 +103,49 @@ warn_unused_ignores = true

[tool.pylint.MASTER]
ignore = [
"tests",
"tests",
]

[tool.pylint.BASIC]
good-names = [
"_",
"ex",
"fp",
"i",
"id",
"j",
"k",
"on",
"Run",
"T",
"_",
"ex",
"fp",
"i",
"id",
"j",
"k",
"on",
"Run",
"T",
]

[tool.pylint.DESIGN]
max-attributes = 8

[tool.pylint."MESSAGES CONTROL"]
disable = [
"format",
"abstract-method",
"cyclic-import",
"duplicate-code",
"global-statement",
"inconsistent-return-statements",
"locally-disabled",
"not-an-iterable",
"not-context-manager",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-positional-arguments",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"unnecessary-pass",
"unused-argument",
"format",
"abstract-method",
"cyclic-import",
"duplicate-code",
"global-statement",
"inconsistent-return-statements",
"locally-disabled",
"not-an-iterable",
"not-context-manager",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-positional-arguments",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"unnecessary-pass",
"unused-argument",
]

[tool.pylint.REPORTS]
Expand All @@ -159,15 +162,15 @@ overgeneral-exceptions = ["builtin.Exception"]

[tool.ruff.lint]
select = [
"C",
"E",
"F",
"W",
"B",
"C",
"E",
"F",
"W",
"B",
]
ignore = [
"E203",
"E501",
"E203",
"E501",
]

[tool.ruff.lint.flake8-pytest-style]
Expand Down

0 comments on commit c38f75e

Please sign in to comment.