Skip to content

Commit ca53cab

Browse files
committed
fix: minor fix on irrelevant/wrong set up in pyproject
Signed-off-by: Tim Li <ltim@uber.com>
1 parent 899b9d8 commit ca53cab

File tree

1 file changed

+5
-37
lines changed

1 file changed

+5
-37
lines changed

pyproject.toml

Lines changed: 5 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -58,49 +58,18 @@ examples = [
5858
]
5959

6060
[project.urls]
61-
Homepage = "https://github.com/cadence-workflow/cadence-python-client"
62-
Documentation = "https://cadence-python-client.readthedocs.io/"
61+
Homepage = "https://cadenceworkflow.io/"
62+
Documentation = "https://cadenceworkflow.io/docs/get-started"
6363
Repository = "https://github.com/cadence-workflow/cadence-python-client"
6464
"Bug Tracker" = "https://github.com/cadence-workflow/cadence-python-client/issues"
6565

66-
[project.scripts]
67-
cadence-cli = "cadence.cli:main"
68-
69-
[tool.setuptools]
70-
packages = ["cadence"]
66+
[tool.setuptools.packages.find]
67+
where = ["."]
68+
include = ["cadence*"]
7169

7270
[tool.setuptools.package-data]
7371
"*" = ["*.proto"]
7472

75-
[tool.black]
76-
line-length = 88
77-
target-version = ["py311"]
78-
include = "\\.pyi?$"
79-
80-
[tool.isort]
81-
profile = "black"
82-
multi_line_output = 3
83-
line_length = 88
84-
known_first_party = ["cadence"]
85-
86-
[tool.flake8]
87-
max-line-length = 88
88-
extend-ignore = ["E203", "W503"]
89-
exclude = [
90-
".git",
91-
"__pycache__",
92-
"build",
93-
"dist",
94-
"*.egg-info",
95-
"venv",
96-
".venv",
97-
".mypy_cache",
98-
".pytest_cache",
99-
"*.pb.py",
100-
"*.pb.pyi",
101-
"*.pyi",
102-
]
103-
10473
[tool.mypy]
10574
python_version = "3.11"
10675
warn_return_any = true
@@ -130,7 +99,6 @@ module = [
13099
"grpcio.*",
131100
"grpcio_tools.*",
132101
"grpc.*",
133-
"thriftpy2.*",
134102
"google.protobuf.*",
135103
"uber.cadence.*",
136104
"msgspec.*",

0 commit comments

Comments
 (0)