Skip to content

Commit

Permalink
add demos folder to package list
Browse files Browse the repository at this point in the history
  • Loading branch information
drunsinn committed Oct 8, 2023
1 parent 5f4a577 commit 574e13e
Showing 1 changed file with 45 additions and 21 deletions.
66 changes: 45 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ build-backend = "setuptools.build_meta"

[project]
name = "pyLSV2"
authors = [
{name = "drunsinn", email = "[email protected]"},
]
authors = [{ name = "drunsinn", email = "[email protected]" }]
description = "A pure Python3 implementation of the LSV2 protocol"
requires-python = ">=3.6"
keywords = ["LSV2", "CNC", "PLC"]
dynamic = ["version", "readme", ]
dynamic = ["version", "readme"]

[project.urls]
"Homepage" = "https://github.com/drunsinn/pyLSV2"
Expand All @@ -27,9 +25,10 @@ lsv2_tunnel_demo = "pyLSV2.demos.ssh_tunnel:main"
[tool.setuptools]
packages = [
"pyLSV2",
"pyLSV2.demos",
"pyLSV2.locales.en.LC_MESSAGES",
"pyLSV2.locales.de.LC_MESSAGES"
]
"pyLSV2.locales.de.LC_MESSAGES",
]

#[tool.setuptools.package-data]
#pyLSV2 = ["locales/*/LC_MESSAGES/*.mo", ]
Expand All @@ -38,12 +37,12 @@ packages = [
#pyLSV2 = ["locales/*/LC_MESSAGES/*.po", ]

[tool.setuptools.dynamic]
version = {attr = "pyLSV2.__version__"}
readme = {file = ["README.md", ]}
version = { attr = "pyLSV2.__version__" }
readme = { file = ["README.md"] }

[tool.black]
line-length = 140
target-version = ["py36",]
target-version = ["py36"]
include = "\\.pyi?$"
verbose = true

Expand Down Expand Up @@ -88,8 +87,21 @@ property-classes = ["abc.abstractproperty"]
variable-naming-style = "snake_case"

[tool.pylint.classes]
defining-attr-methods = ["__init__", "__new__", "setUp", "asyncSetUp", "__post_init__"]
exclude-protected = ["_asdict", "_fields", "_replace", "_source", "_make", "os._exit"]
defining-attr-methods = [
"__init__",
"__new__",
"setUp",
"asyncSetUp",
"__post_init__",
]
exclude-protected = [
"_asdict",
"_fields",
"_replace",
"_source",
"_make",
"os._exit",
]
valid-classmethod-first-arg = ["cls"]
valid-metaclass-classmethod-first-arg = ["mcs"]

Expand Down Expand Up @@ -123,7 +135,13 @@ logging-format-style = "old"
logging-modules = ["logging"]

[tool.pylint."messages control"]
confidence = ["HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFINED"]
confidence = [
"HIGH",
"CONTROL_FLOW",
"INFERENCE",
"INFERENCE_FAILURE",
"UNDEFINED",
]
disable = [
"raw-checker-failed",
"bad-inline-option",
Expand All @@ -135,8 +153,8 @@ disable = [
"use-symbolic-message-instead",
"use-implicit-booleaness-not-comparison-to-string",
"use-implicit-booleaness-not-comparison-to-zero",
"consider-using-f-string"
]
"consider-using-f-string",
]

[tool.pylint.method_args]

Expand All @@ -148,8 +166,8 @@ timeout-methods = [
"requests.api.patch",
"requests.api.post",
"requests.api.put",
"requests.api.request"
]
"requests.api.request",
]

[tool.pylint.miscellaneous]
notes = ["FIXME", "XXX", "TODO", "ToDo"]
Expand Down Expand Up @@ -181,14 +199,14 @@ ignored-checks-for-mixins = [
"no-member",
"not-async-context-manager",
"not-context-manager",
"attribute-defined-outside-init"
]
"attribute-defined-outside-init",
]
ignored-classes = [
"optparse.Values",
"thread._local",
"_thread._local",
"argparse.Namespace"
]
"argparse.Namespace",
]
missing-member-hint = true
missing-member-hint-distance = 1
missing-member-max-choices = 1
Expand All @@ -199,4 +217,10 @@ allow-global-unused-variables = true
callbacks = ["cb_", "_cb"]
dummy-variables-rgx = "_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_"
ignored-argument-names = "_.*|^ignored_|^unused_"
redefining-builtins-modules = ["six.moves", "past.builtins", "future.builtins", "builtins", "io"]
redefining-builtins-modules = [
"six.moves",
"past.builtins",
"future.builtins",
"builtins",
"io",
]

0 comments on commit 574e13e

Please sign in to comment.