Skip to content

Commit 8d0365c

Browse files
committed
repo: rebased and resolved conflicts
1 parent 109c989 commit 8d0365c

83 files changed

Lines changed: 1008 additions & 873 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.aspect/cli/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
lint:
2+
aspects:
3+
- //tools/bazel:lint.bzl%ruff
4+
- //tools/bazel:lint.bzl%clang_tidy

.bazeliskrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BAZELISK_BASE_URL=https://static.aspect.build/aspect
2+
USE_BAZEL_VERSION=aspect/2025.06.52

.clang-tidy

Lines changed: 51 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,53 @@
1-
Checks: 'clang-diagnostic-*,clang-analyzer-*,cppcoreguidelines-*,modernize-*,-modernize-use-trailing-return-type'
1+
# .clang-tidy
2+
3+
# Enable broad sets, disable one modernize check explicitly.
4+
Checks: >
5+
clang-diagnostic-*,
6+
clang-analyzer-*,
7+
cppcoreguidelines-*,
8+
modernize-*,
9+
-modernize-use-trailing-return-type
10+
11+
# Lint everything. Set a regex (e.g. ^src/|^include/) to scope.
212
HeaderFilterRegex: ''
3-
AnalyzeTemporaryDtors: false
4-
FormatStyle: google
13+
14+
# Use clang-format's "google" style when auto-fixing.
15+
FormatStyle: google
16+
17+
# Per-check options, grouped for readability.
518
CheckOptions:
6-
- key: cert-dcl16-c.NewSuffixes
7-
value: 'L;LL;LU;LLU'
8-
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
9-
value: '0'
10-
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
11-
value: '1'
12-
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
13-
value: '1'
14-
- key: google-readability-braces-around-statements.ShortStatementLines
15-
value: '1'
16-
- key: google-readability-function-size.StatementThreshold
17-
value: '800'
18-
- key: google-readability-namespace-comments.ShortNamespaceLines
19-
value: '10'
20-
- key: google-readability-namespace-comments.SpacesBeforeComments
21-
value: '2'
22-
- key: modernize-loop-convert.MaxCopySize
23-
value: '16'
24-
- key: modernize-loop-convert.MinConfidence
25-
value: reasonable
26-
- key: modernize-loop-convert.NamingStyle
27-
value: CamelCase
28-
- key: modernize-pass-by-value.IncludeStyle
29-
value: llvm
30-
- key: modernize-replace-auto-ptr.IncludeStyle
31-
value: llvm
32-
- key: modernize-use-nullptr.NullMacros
33-
value: 'NULL'
19+
# --- CERT ---
20+
- key: cert-dcl16-c.NewSuffixes
21+
value: 'L;LL;LU;LLU'
22+
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
23+
value: '0'
24+
25+
# --- CppCoreGuidelines ---
26+
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
27+
value: '1'
28+
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
29+
value: '1'
30+
31+
# --- Google Readability ---
32+
- key: google-readability-braces-around-statements.ShortStatementLines
33+
value: '1'
34+
- key: google-readability-function-size.StatementThreshold
35+
value: '800'
36+
- key: google-readability-namespace-comments.ShortNamespaceLines
37+
value: '10'
38+
- key: google-readability-namespace-comments.SpacesBeforeComments
39+
value: '2'
40+
41+
# --- Modernize ---
42+
- key: modernize-loop-convert.MaxCopySize
43+
value: '16'
44+
- key: modernize-loop-convert.MinConfidence
45+
value: 'reasonable'
46+
- key: modernize-loop-convert.NamingStyle
47+
value: 'CamelCase'
48+
- key: modernize-pass-by-value.IncludeStyle
49+
value: 'llvm'
50+
- key: modernize-replace-auto-ptr.IncludeStyle
51+
value: 'llvm'
52+
- key: modernize-use-nullptr.NullMacros
53+
value: 'NULL'

.flake8

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM debian:latest
2+
3+
ARG USER=ci
4+
ARG BAZELISK_TAG=v1.19.0
5+
6+
RUN apt-get update && apt-get install -y --no-install-recommends \
7+
ca-certificates curl git \
8+
build-essential gcc g++ \
9+
clang lld ninja-build sudo \
10+
python3 \
11+
&& rm -rf /var/lib/apt/lists/*
12+
13+
RUN curl -fsSL -o /usr/local/bin/bazelisk \
14+
"https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_TAG}/bazelisk-linux-amd64" \
15+
&& chmod 0755 /usr/local/bin/bazelisk \
16+
&& ln -s /usr/local/bin/bazelisk /usr/local/bin/bazel
17+
18+
RUN useradd -m ${USER} \
19+
&& echo "${USER} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
20+
21+
WORKDIR /home/${USER}/workspace

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly
File renamed without changes.

.github/images/logo_dark.png

12 KB
Loading

.github/workflows/distro-ci.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)