Skip to content
Snippets Groups Projects
Commit 4b65645c authored by Lars Bilke's avatar Lars Bilke Committed by Dmitri Naumov
Browse files

Removed ThirdParty/

parent 9e7f8b26
No related branches found
No related tags found
No related merge requests found
version: "2"
exclude_patterns:
- "ThirdParty/"
- "Tests/"
plugins:
duplication:
......
[codespell]
skip = *.bib,*.css,*.pdf,*.yaml,*.yml,*/.vale,./.git,./GeoLib/IO/XmlIO/OpenGeoSysSTN.xsd,./Tests/Data,./ThirdParty,./web/content/imprint.md,./web/node_modules,./web/public/imprint/index.html,./web/resources,CITATION.cff,
skip = *.bib,*.css,*.pdf,*.yaml,*.yml,*/.vale,./.git,./GeoLib/IO/XmlIO/OpenGeoSysSTN.xsd,./Tests/Data,./web/content/imprint.md,./web/node_modules,./web/public/imprint/index.html,./web/resources,CITATION.cff,
ignore-words-list = ba,bu,ket,nd,pris,strat,sur,theis,
exclude-file = .codespellexclude
uri-ignore-words-list = *
......@@ -4,7 +4,7 @@ repos:
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md, --markdown-linebreak-ext=pandoc]
exclude: "^ThirdParty/.*|^Tests/Data/.*|^web/static|^Documentation/.vale/.*|.*\\.patch"
exclude: "^Tests/Data/.*|^web/static|^Documentation/.vale/.*|.*\\.patch"
- id: check-added-large-files
args: [--maxkb 1024]
- id: check-merge-conflict
......@@ -24,7 +24,7 @@ repos:
rev: 23.1.0
hooks:
- id: black
exclude: "ThirdParty|LinearMFront/generate_ref.py"
exclude: "LinearMFront/generate_ref.py"
# Run black on markdown notebooks
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
......@@ -35,7 +35,7 @@ repos:
rev: v2.2.2
hooks:
- id: codespell
exclude: 'ThirdParty/.*|Tests/Data/.*|.*\.ya?ml|.*\.bib|^web/content/imprint.md|^GeoLib/IO/XmlIO/OpenGeoSysSTN.xsd|^Applications/FileIO/Legacy/OGSIOVer4.cpp|^scripts/cmake/CPM.cmake|Documentation/.vale/.*|.*\.ipynb|.*\.svg'
exclude: 'Tests/Data/.*|.*\.ya?ml|.*\.bib|^web/content/imprint.md|^GeoLib/IO/XmlIO/OpenGeoSysSTN.xsd|^Applications/FileIO/Legacy/OGSIOVer4.cpp|^scripts/cmake/CPM.cmake|Documentation/.vale/.*|.*\.ipynb|.*\.svg'
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
......@@ -56,7 +56,7 @@ repos:
name: Run git diff --check
entry: git diff --check --cached -- ':!*.md' ':!*.pandoc' ':!*.asc' ':!*.dat' ':!*.ts'
language: system
exclude: "ThirdParty/.*|Tests/Data/.*|web/static/images/xsd"
exclude: "Tests/Data/.*|web/static/images/xsd"
stages: [commit, manual]
- id: file-extensions
name: Check file extensions
......
---
# Disable all checks, one check has to be enabled.
# Hack: if there is no enabled check clang-tidy (at least in the way it is
# invoked by CMake) prints out its own usage instructions. I have chosen an
# arbitrary check here.
Checks: '-*,boost-use-to-string'
......@@ -4,5 +4,4 @@ codecov:
ignore:
- "Applications/CLI"
- "ProcessLib"
- "ThirdParty"
- "*Tests/**/*"
......@@ -130,7 +130,7 @@ unfixable = [
"F841", # Removes unused variables
]
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
exclude = ["ThirdParty/", "scripts/doc", "*ci-skip*"]
exclude = ["scripts/doc", "*ci-skip*"]
flake8-unused-arguments.ignore-variadic-names = true
line-length = 80
......
......@@ -17,7 +17,7 @@ build docs:
- NUM_LIZARD_ISSUES=`cat lizard.txt | wc -l`
- echo "lizard_issues $NUM_LIZARD_ISSUES" >> metrics.txt
- lizard -l cpp -t 8 --html -o Lizard.html
- lizard -EWordCount -x "./ThirdParty/*" -x "./Tests/*" || true # word-cloud
- lizard -EWordCount -x "./Tests/*" || true # word-cloud
# build
- cd build
- cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DOGS_BUILD_PROCESSES=SteadyStateDiffusion
......
......@@ -3,13 +3,9 @@ if(NOT DOXYGEN_FOUND)
endif()
set(DOXYGEN_EXCLUDE
${PROJECT_SOURCE_DIR}/ThirdParty
${PROJECT_SOURCE_DIR}/scripts
${PROJECT_SOURCE_DIR}/Tests
${PROJECT_SOURCE_DIR}/Documentation/ProjectFile
${PROJECT_SOURCE_DIR}/web
${PROJECT_BINARY_DIR}/_deps
${PROJECT_BINARY_DIR}/_ext
${PROJECT_SOURCE_DIR}/scripts ${PROJECT_SOURCE_DIR}/Tests
${PROJECT_SOURCE_DIR}/Documentation/ProjectFile ${PROJECT_SOURCE_DIR}/web
${PROJECT_BINARY_DIR}/_deps ${PROJECT_BINARY_DIR}/_ext
)
set(DOXYGEN_FILE_PATTERNS *.h *.cpp *.tpp *.dox)
set(DOXYGEN_PROJECT_NAME "OGS")
......
......@@ -12,7 +12,6 @@ ${CPPCHECK_TOOL_PATH} \
--inline-suppr \
-i ${_cpm_dir} --suppress=*:${_cpm_dir}/* \
-i ${PROJECT_BINARY_DIR}/_deps --suppress=*:${PROJECT_BINARY_DIR}/_deps/* \
-i ${PROJECT_SOURCE_DIR}/ThirdParty --suppress=*:${PROJECT_SOURCE_DIR}/ThirdParty* \
-i ${PROJECT_SOURCE_DIR}/Tests --suppress=*:*Tests/* \
--suppress=missingIncludeSystem \
--template='{\n "description": "{message}",\n "severity": "info",\n "location": {\n "path": "{file}",\n "lines": {\n "begin": {line}\n }\n }\n},' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment