Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 50 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
[build-system]
requires = ["setuptools>=61"]
requires = [
"setuptools>=61",
]
build-backend = "setuptools.build_meta"

[project]
name = "invoke-plugin-for-pylint"
version = "4.0.1"
description = "Pylint plugin which disables checks for proper integration with invoke"
authors = [{ name = "Kai Harder", email = "kai.harder@sap.com"}]
authors = [
{ name = "Kai Harder", email = "kai.harder@sap.com" },
]
readme = "README.md"
keywords = ["pylint", "invoke", "plugin", "inv", "linter"]
keywords = [
"pylint",
"invoke",
"plugin",
"inv",
"linter",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Plugins",
Expand All @@ -23,19 +33,21 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
"Typing :: Typed"
"Typing :: Typed",
]
requires-python = ">=3.9,<4"
dependencies = [
"invoke~=2.0",
"pylint~=3.0",
]
license = "Apache-2.0"
license-files = ["LICENSE"]
license-files = [
"LICENSE",
]

[project.urls]
"Issue Tracker" = "https://github.com/SAP/invoke-plugin-for-pylint/issues"
"Changelog" = "https://github.com/SAP/invoke-plugin-for-pylint/blob/main/CHANGELOG.md"
Changelog = "https://github.com/SAP/invoke-plugin-for-pylint/blob/main/CHANGELOG.md"

[dependency-groups]
check = [
Expand All @@ -60,17 +72,22 @@ test = [
]

[tool.setuptools.packages.find]
include = ["invoke_plugin_for_pylint"]
include = [
"invoke_plugin_for_pylint",
]

[tool.setuptools.package-data]
invoke_plugin_for_pylint = ["py.typed"]
invoke_plugin_for_pylint = [
"py.typed",
]

[tool.isort]
profile = "black"
add_imports = ["from __future__ import annotations"]
add_imports = [
"from __future__ import annotations",
]

[tool.mypy]
# main config
strict_optional = true
warn_incomplete_stub = true
warn_no_return = true
Expand All @@ -80,18 +97,26 @@ strict_bytes = true
warn_unused_ignores = true
warn_return_any = false
disallow_untyped_calls = false
# output
pretty = true
show_column_numbers = true
show_error_codes = true
show_traceback = true
# error config
disable_error_code = ["type-abstract"]
enable_error_code = ["explicit-override", "possibly-undefined", "ignore-without-code", "deprecated"]
disable_error_code = [
"type-abstract",
]
enable_error_code = [
"explicit-override",
"possibly-undefined",
"ignore-without-code",
"deprecated",
]
strict_concatenate = true

[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["astroid.*"]
module = [
"astroid.*",
]

[tool.pylint.basic]
no-docstring-rgx = "^_"
Expand All @@ -101,15 +126,20 @@ min-public-methods = 0

[tool.pylint.master]
max-line-length = 100
py-version = [3, 9]
load-plugins = ["invoke_plugin_for_pylint"]
py-version = [
3,
9,
]
load-plugins = [
"invoke_plugin_for_pylint",
]

[tool.pylint."messages control"]
enable = ["all"]
enable = [
"all",
]
disable = [
# allow TODO comments
"fixme",
# allow disables
"locally-disabled",
"suppressed-message",
]
Expand Down