Skip to content

Commit 62710d8

Browse files
authored
Fix TypeCheck (#107)
1 parent fccfdbd commit 62710d8

File tree

7 files changed

+242
-350
lines changed

7 files changed

+242
-350
lines changed

cppython/plugins/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

cppython/plugins/git.py

Lines changed: 0 additions & 62 deletions
This file was deleted.

data.json

Whitespace-only changes.

pdm.lock

Lines changed: 239 additions & 239 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ dependencies = [
1717
"click>=8.1.3",
1818
"tomlkit>=0.11.4",
1919
"cppython-core>=0.4.1.dev19",
20-
"pydantic>=1.9.2",
21-
"dulwich>=0.20.45",
20+
"pydantic>=2.0a4",
2221
"packaging>=21.3",
2322
]
2423

@@ -48,10 +47,6 @@ test = [
4847
"pytest-cppython>=0.2.0.dev0",
4948
]
5049

51-
# Plugin registration
52-
[project.entry-points."cppython.scm"]
53-
cmake = "cppython.plugins.git:GitSCM"
54-
5550
[project.scripts]
5651
cppython = "cppython.console.interface:cli"
5752

@@ -93,8 +88,8 @@ load-plugins = [
9388
"pylint.extensions.bad_builtin",
9489
]
9590

96-
[tool.pylint.messages_control]
97-
extension-pkg-whitelist = "pydantic"
91+
[tool.pylint.typecheck]
92+
ignored-classes = "FieldInfo"
9893

9994
[tool.pylint.format]
10095
max-line-length = "120"

tests/integration/test_version_control.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

tests/unit/test_version_control.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)