Skip to content

Commit 6934d8d

Browse files
committed
chore(build): update some dependencies and some corrections in pyproject files
1 parent 37d8119 commit 6934d8d

File tree

11 files changed

+59
-14
lines changed

11 files changed

+59
-14
lines changed

bundled_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ click>=8.1.0
33
pluggy>=1.0.0
44
tomli > 2.0.0
55
tomli_w >= 1.0.0
6-
platformdirs<=3.12.0,>=3.2.0
6+
platformdirs>=3.2.0,<4.2.0

hatch.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ extra-dependencies = [
4848
"robotframework @ git+https://github.com/robotframework/robotframework.git",
4949
]
5050

51-
[envs.py312_latest]
52-
python = "3.12"
53-
extra-dependencies = ["robotframework==6.1.1"]
51+
[envs.pypy]
52+
python = "pypy3.10"
53+
extra-dependencies = [
54+
"robotframework==6.0",
55+
]
5456

5557
[envs.rfdevel]
5658
python = "3.11"

packages/analyze/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "robotcode-analyze"
77
description = 'RobotCode analyze plugin for Robot Framework'
88
readme = { "file" = "README.md", "content-type" = "text/markdown" }
99
requires-python = ">=3.8"
10-
license = "Apache-2.0"
10+
license = {text = "Apache-2.0"}
1111
keywords = []
1212
authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
1313
classifiers = [

packages/core/pyproject.toml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "robotcode-core"
77
description = 'Some core classes for RobotCode'
88
readme = { "file" = "README.md", "content-type" = "text/markdown" }
99
requires-python = ">=3.8"
10-
license = "Apache-2.0"
10+
license = {text = "Apache-2.0"}
1111
keywords = []
1212
authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
1313
classifiers = [
@@ -52,3 +52,46 @@ only-include = ["src"]
5252
[tool.hatch.envs.build]
5353
detached = true
5454
python = "38"
55+
56+
[tool.mypy]
57+
python_version = "3.8"
58+
strict = true
59+
warn_redundant_casts = true
60+
warn_unused_ignores = true
61+
warn_return_any = true
62+
warn_unused_configs = true
63+
warn_unreachable = true
64+
implicit_reexport = false
65+
implicit_optional = true
66+
disallow_untyped_decorators = false
67+
disallow_subclassing_any = false
68+
exclude = [
69+
'^\.mypy_cache/',
70+
'^\.venv/',
71+
'^\.hatch/',
72+
"^build/",
73+
"^dist/",
74+
"^out/",
75+
"^playground/",
76+
"^scripts/",
77+
"^bundled/libs/",
78+
]
79+
mypy_path = [
80+
"typings",
81+
"src",
82+
]
83+
explicit_package_bases = true
84+
namespace_packages = true
85+
# allow_untyped_calls = true
86+
87+
88+
[[tool.mypy.overrides]]
89+
module = [
90+
"robot.*",
91+
"robotremoteserver.*",
92+
"debugpy.*",
93+
"robotidy.*",
94+
"robocop.*",
95+
"pluggy",
96+
]
97+
ignore_missing_imports = true

packages/debugger/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "robotcode-debugger"
77
description = 'RobotCode Debugger for Robot Framework'
88
readme = { "file" = "README.md", "content-type" = "text/markdown" }
99
requires-python = ">=3.8"
10-
license = "Apache-2.0"
10+
license = {text = "Apache-2.0"}
1111
keywords = []
1212
authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
1313
classifiers = [

packages/jsonrpc2/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "robotcode-jsonrpc2"
77
description = 'JSONRPC Server for RobotCode'
88
readme = { "file" = "README.md", "content-type" = "text/markdown" }
99
requires-python = ">=3.8"
10-
license = "Apache-2.0"
10+
license = {text = "Apache-2.0"}
1111
keywords = []
1212
authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
1313
classifiers = [

packages/language_server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "robotcode-language-server"
77
description = 'RobotCode Language Server for Robot Framework'
88
readme = { "file" = "README.md", "content-type" = "text/markdown" }
99
requires-python = ">=3.8"
10-
license = "Apache-2.0"
10+
license = {text = "Apache-2.0"}
1111
keywords = []
1212
authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
1313
classifiers = [

packages/modifiers/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "robotcode-modifiers"
77
description = 'Some Robot Framework Modifiers for RobotCode'
88
readme = { "file" = "README.md", "content-type" = "text/markdown" }
99
requires-python = ">=3.8"
10-
license = "Apache-2.0"
10+
license = {text = "Apache-2.0"}
1111
keywords = []
1212
authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
1313
classifiers = [

packages/plugin/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "robotcode-plugin"
77
description = 'Some classes for RobotCode plugin management'
88
readme = { "file" = "README.md", "content-type" = "text/markdown" }
99
requires-python = ">=3.8"
10-
license = "Apache-2.0"
10+
license = {text = "Apache-2.0"}
1111
keywords = []
1212
authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
1313
classifiers = [

packages/robot/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "robotcode-robot"
77
description = 'Support classes for RobotCode for handling Robot Framework projects.'
88
readme = { "file" = "README.md", "content-type" = "text/markdown" }
99
requires-python = ">=3.8"
10-
license = "Apache-2.0"
10+
license = {text = "Apache-2.0"}
1111
keywords = []
1212
authors = [{ name = "Daniel Biehl", email = "dbiehl@live.de" }]
1313
classifiers = [
@@ -28,7 +28,7 @@ classifiers = [
2828
dependencies = [
2929
"robotframework>=4.1.0",
3030
"tomli>=1.1.0; python_version < '3.11'",
31-
"platformdirs<3.12.0,>=3.2.0",
31+
"platformdirs>=3.2.0,<4.2.0",
3232
"robotcode-core==0.68.1",
3333
]
3434
dynamic = ["version"]

0 commit comments

Comments
 (0)