Skip to content

Commit

Permalink
ci: Cleanup root directory
Browse files Browse the repository at this point in the history
Since FRI is not a python project, move both `pyproject.toml` and
`setup.cfg` to `tools/ci`.

Signed-off-by: Devaraj Ranganna <[email protected]>
  • Loading branch information
urutva committed Oct 29, 2024
1 parent 07bc7f5 commit dadf310
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tools/ci/pipeline-baseline-fri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pre-commit:
- .base-job-rules
stage: quality-check
script:
- pip install . -t $PWD
- pip install tools/ci -t $PWD
- apt-get update -y
- apt-get install fd-find -y
- cp $PWD/bin/banned-api-hook $PWD/banned-api-hook
Expand Down Expand Up @@ -83,6 +83,7 @@ check-changelog-addition:
- git fetch origin ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
- >
towncrier check
--config tools/ci/pyproject.toml
--compare-with origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
########################
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml → tools/ci/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
local_scheme = "no-local-version"
root = "../.."

[tool.towncrier]
ignore = [".gitkeep"]
directory = "release_changes"
directory = "../../release_changes"
filename = "CHANGELOG.md"
template = "tools/ci/towncrier/template.rst"
template = "towncrier/template.rst"

[[tool.towncrier.type]]
directory = "change"
Expand Down
File renamed without changes.

0 comments on commit dadf310

Please sign in to comment.