We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2da722e + c037c78 commit d4afda7Copy full SHA for d4afda7
.ci_support/check.py
@@ -0,0 +1,16 @@
1
+import tomlkit
2
+
3
4
+if __name__ == "__main__":
5
+ with open("pyproject.toml", "r") as f:
6
+ data = tomlkit.load(f)
7
8
+ lst = []
9
+ for sub_lst in data["project"]["optional-dependencies"].values():
10
+ for el in sub_lst:
11
+ lst.append(el)
12
13
+ data["project"]["dependencies"] += list(set(lst))
14
15
+ with open("pyproject.toml", "w") as f:
16
+ f.writelines(tomlkit.dumps(data))
.github/workflows/pipeline.yml
@@ -95,7 +95,9 @@ jobs:
95
- name: Setup
96
shell: bash -l {0}
97
run: |
98
- pip install versioneer[toml]==0.29
+ pip install versioneer[toml]==0.29 tomlkit
99
+ python .ci_support/check.py
100
+ cat pyproject.toml
101
pip install . --no-deps --no-build-isolation
102
pip check
103
0 commit comments