Skip to content

Commit 0185b30

Browse files
urutvaaggarg
authored andcommitted
ci: Cleanup root directory
Since FRI is not a python project, move both `pyproject.toml` and `setup.cfg` to `tools/ci`. Signed-off-by: Devaraj Ranganna <[email protected]>
1 parent 07bc7f5 commit 0185b30

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

tools/ci/pipeline-baseline-fri.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pre-commit:
4444
- .base-job-rules
4545
stage: quality-check
4646
script:
47-
- pip install . -t $PWD
47+
- pip install tools/ci -t $PWD
4848
- apt-get update -y
4949
- apt-get install fd-find -y
5050
- cp $PWD/bin/banned-api-hook $PWD/banned-api-hook
@@ -83,6 +83,7 @@ check-changelog-addition:
8383
- git fetch origin ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
8484
- >
8585
towncrier check
86+
--config tools/ci/pyproject.toml
8687
--compare-with origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
8788
8889
########################

pyproject.toml renamed to tools/ci/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
33
build-backend = "setuptools.build_meta"
44
[tool.setuptools_scm]
55
local_scheme = "no-local-version"
6+
root = "../.."
67

78
[tool.towncrier]
89
ignore = [".gitkeep"]
9-
directory = "release_changes"
10+
directory = "../../release_changes"
1011
filename = "CHANGELOG.md"
11-
template = "tools/ci/towncrier/template.rst"
12+
template = "towncrier/template.rst"
1213

1314
[[tool.towncrier.type]]
1415
directory = "change"
File renamed without changes.

0 commit comments

Comments
 (0)