-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup (remove unused code and format style) (#492)
* Remove unused classes * Remove SingleViewWindow * Remove DrawableTexture * Remove vtkQtProgressDialog * Remove vtkProgressTerminalOutput * Remove use of deprecated AllDockWidgetFeatures * Add linter workflow * Using super-linter with clang-format * Ran clang-format * Remove code wrongfully triggering clang-format * Is this a bug in clang-format? * Will just remove it for now * Fix compile issues introduced in cleanup * Modernize and clean CMakeLists style * Amend previous run of clang-format * Add missing includes in guiutilities
- Loading branch information
1 parent
5653f2e
commit 278c4c7
Showing
323 changed files
with
19,330 additions
and
22,219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
BasedOnStyle: Google | ||
IndentWidth: 4 | ||
--- | ||
Language: Cpp | ||
ColumnLimit: 120 | ||
AccessModifierOffset: -4 | ||
SpaceBeforeParens: Never | ||
SpacesInParentheses: true | ||
SpaceInEmptyParentheses: false | ||
SpaceInEmptyBlock: false | ||
SpaceAroundPointerQualifiers: Both | ||
SpaceAfterLogicalNot: false | ||
SpaceBeforeAssignmentOperators: true | ||
AlignConsecutiveAssignments: Consecutive | ||
BreakBeforeBraces: Allman | ||
AlignAfterOpenBracket: Align | ||
DerivePointerAlignment: false | ||
PointerAlignment: Middle | ||
AllowShortLambdasOnASingleLine: Empty | ||
UseTab: Never | ||
SpacesInSquareBrackets: false | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This workflow executes several linters on changed files based on languages used in your code base whenever | ||
# you push a code or open a pull request. | ||
# | ||
# You can adjust the behavior by modifying this file. | ||
# For more information, see: | ||
# https://github.com/github/super-linter | ||
name: Lint Code Base | ||
|
||
on: | ||
push: | ||
branches: "master" | ||
pull_request: | ||
branches: "master" | ||
types: [opened, edited] | ||
jobs: | ||
run-lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
# Full git history is needed to get a proper list of changed files within `super-linter` | ||
fetch-depth: 0 | ||
|
||
- name: Lint Code Base | ||
uses: github/super-linter@v4 | ||
env: | ||
FILTER_REGEX_EXCLUDE: .*/IbisPlugins.*|.*/svl/.*|.*moc_.*|.*/IbisLib/.* | ||
# VALIDATE_CPP: true | ||
VALIDATE_CLANG_FORMAT: true | ||
DEFAULT_BRANCH: "master" | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
LINTER_RULES_PATH: / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.