2025-07-14 15:14:19 +02:00
|
|
|
# Clang-tidy configuration for imageViewer project
|
|
|
|
|
Checks: >
|
|
|
|
|
clang-diagnostic-*,
|
|
|
|
|
clang-analyzer-*,
|
|
|
|
|
bugprone-*,
|
|
|
|
|
cert-*,
|
|
|
|
|
misc-*,
|
|
|
|
|
modernize-*,
|
|
|
|
|
performance-*,
|
|
|
|
|
portability-*,
|
|
|
|
|
readability-*,
|
|
|
|
|
-readability-magic-numbers,
|
|
|
|
|
-modernize-use-trailing-return-type,
|
|
|
|
|
-cert-err33-c,
|
|
|
|
|
-misc-unused-parameters,
|
2025-07-14 15:29:01 +02:00
|
|
|
-readability-isolate-declaration,
|
|
|
|
|
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling
|
2025-07-14 15:14:19 +02:00
|
|
|
|
chore: optimize pre-commit, remove tracked binaries, fix lint issues
- Move slow hooks (mypy, pylint, bandit, pytest, prettier) to pre-push stage
- Remove redundant autoflake (ruff covers F401/F841)
- Fix shellcheck OOM by batching files with xargs -n 40
- Remove tracked .o, .wav, .pyc binaries from git
- Move pomodoro wav files to ../testsAndMisc_binaries/ with symlinks
- Add *.o, *.so, *.a to .gitignore
- Refactor hltb._pick_best_hltb_entry to fix C901/PLR0911/SIM102
- Fix SC2034 warnings in gif_to_square.sh and upgrade.sh
- Add disk_cleanup_check.sh script
- Various test and code improvements across screen_locker,
steam_backlog_enforcer, word_frequency, moviepy_showcase
2026-04-10 18:44:51 +02:00
|
|
|
WarningsAsErrors: ""
|
2025-07-14 15:14:19 +02:00
|
|
|
HeaderFilterRegex: '.*\.h$'
|
|
|
|
|
AnalyzeTemporaryDtors: false
|
|
|
|
|
FormatStyle: file
|
|
|
|
|
CheckOptions:
|
|
|
|
|
- key: readability-identifier-naming.VariableCase
|
|
|
|
|
value: snake_case
|
|
|
|
|
- key: readability-identifier-naming.FunctionCase
|
|
|
|
|
value: snake_case
|
|
|
|
|
- key: readability-identifier-naming.MacroCase
|
|
|
|
|
value: UPPER_CASE
|
|
|
|
|
- key: readability-identifier-naming.TypedefCase
|
|
|
|
|
value: CamelCase
|
|
|
|
|
- key: readability-identifier-naming.StructCase
|
|
|
|
|
value: CamelCase
|
|
|
|
|
- key: readability-function-size.LineThreshold
|
|
|
|
|
value: 100
|
|
|
|
|
- key: readability-function-size.StatementThreshold
|
|
|
|
|
value: 50
|
|
|
|
|
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
|
|
|
|
|
value: true
|