Skip to content

Commit 07bce97

Browse files
committed
Fix beman-tidy lint failures
Add missing SPDX-License-Identifier headers, a beman::optional CMake alias target, and the required README badge link so beman-tidy's Requirement checks pass. Rename two test files to the *.test.cpp convention. Also exclude build/cache/venv/infra/papers directories in .beman-tidy.yaml so local pre-commit runs aren't swamped by false positives from generated or vendored content.
1 parent e894d3a commit 07bce97

37 files changed

Lines changed: 122 additions & 3 deletions

.beman-tidy.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
13
ignored_paths:
24
- installtest/
5+
- .build/
6+
- .cache/
7+
- .venv/
8+
- infra/
9+
- papers/

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
13
# To get started with Dependabot version updates, you'll need to specify which
24
# package ecosystems to update and where the package manifests are located.
35
# Please see the documentation for all configuration options:

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
24
# For most projects, this workflow file will not need changing; you simply need
35
# to commit it to your repository.
46
#

.github/workflows/doxygen-gh-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
13
name: Doxygen GitHub Pages Deploy Action
24

35
on:

.github/workflows/ossf-scorecard-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
13
name: Scorecard analysis workflow
24
on:
35
push:

.github/workflows/pre-commit-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
13
name: Lint Check (pre-commit)
24

35
on:

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
13
name: pre-commit
24

35
on:

.markdownlint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
13
# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md033.md
24
# Disable inline html linter is needed for <details> <summary>
35
MD033: false

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2+
13
# See https://pre-commit.com for more information
24
# See https://pre-commit.com/hooks.html for more hooks
35
repos:

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ set(CMAKE_VERIFY_INTERFACE_HEADER_SETS ON)
2121

2222
# Create the library target and named header set for beman.optional
2323
add_library(beman.optional INTERFACE)
24+
add_library(beman::optional ALIAS beman.optional)
2425
target_sources(
2526
beman.optional
2627
PUBLIC FILE_SET beman_optional_headers TYPE HEADERS BASE_DIRS include

0 commit comments

Comments
 (0)