-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- pin rdkit to just before they started generating thier own stubs - pin pyright to just before it started failing (future prs might update pyright) - swap out setup.py for a poetry-based build - update mypy and fix the small issue it detected in rdGeometry
- Loading branch information
Showing
7 changed files
with
241 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
Pipfile | ||
Pipfile.lock | ||
build | ||
rdkit_stubs.egg-info | ||
dist/ | ||
__pycache__/ | ||
|
||
/poetry.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[tool.poetry] | ||
name = "rdkit-stubs" | ||
version = "0.7" | ||
description = "type stubs for rdkit" | ||
authors = [ | ||
"Andrew Dirksen <[email protected]>", | ||
"Ryan Rightmer <[email protected]>", | ||
] | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
homepage = "https://github.com/postera-ai/rdkit-stubs" | ||
keywords = ["stubs", "rdkit", "typing"] | ||
classifiers = [ | ||
"Development Status :: 1 - Planning", | ||
"Typing :: Stubs Only", | ||
"Programming Language :: Python :: 3.10", | ||
] | ||
packages = [{ include = "rdkit-stubs" }] | ||
include = ["rdkit-stubs/**/*.pyi"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,10 @@ authors = ["Your Name <[email protected]>"] | |
|
||
[tool.poetry.dependencies] | ||
python = "^3.10" | ||
mypy = "^1.2.0" | ||
mypy = "^1.11.2" | ||
pyright = "^1.1.306" | ||
rdkit = "^2023.3.1" | ||
rdkit = "=2023.09.5" | ||
numpy = "1.26.4" | ||
pytest = "^7.3.1" | ||
rdkit-stubs = { path = "..", develop = true } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters