Skip to content

Commit 2e672f5

Browse files
committed
feat: added coumentation and traied to fix linters
1 parent 6cdb4fb commit 2e672f5

File tree

17 files changed

+1476
-1415
lines changed

17 files changed

+1476
-1415
lines changed

.clang-format

Lines changed: 280 additions & 280 deletions
Large diffs are not rendered by default.

.clang-tidy

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
Checks: >
2-
-*,
3-
bugprone-*,
4-
google-*,
5-
misc-*,
6-
modernize-*,
7-
performance-*,
8-
portability-*,
9-
readability-*,
10-
-google-readability-namespace-comments,
11-
-google-runtime-int,
12-
-google-runtime-references,
13-
-misc-non-private-member-variables-in-classes,
14-
-readability-named-parameter,
15-
-readability-braces-around-statements,
16-
-readability-magic-numbers,
17-
-misc-include-cleaner,
18-
-modernize-use-trailing-return-type,
19-
-misc-use-anonymous-namespace,
20-
-bugprone-easily-swappable-parameters,
21-
-modernize-avoid-c-arrays
22-
23-
1+
Checks: >
2+
-*,
3+
bugprone-*,
4+
google-*,
5+
misc-*,
6+
modernize-*,
7+
performance-*,
8+
portability-*,
9+
readability-*,
10+
-google-readability-namespace-comments,
11+
-google-runtime-int,
12+
-google-runtime-references,
13+
-misc-non-private-member-variables-in-classes,
14+
-readability-named-parameter,
15+
-readability-braces-around-statements,
16+
-readability-magic-numbers,
17+
-misc-include-cleaner,
18+
-modernize-use-trailing-return-type,
19+
-misc-use-anonymous-namespace,
20+
-bugprone-easily-swappable-parameters,
21+
-modernize-avoid-c-arrays
22+
23+
2424
WarningsAsErrors: "*"

.github/workflows/cpp_linter.yaml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: C++ Linters
2-
3-
on:
4-
push:
5-
branches:
6-
- '**'
7-
pull_request:
8-
branches:
9-
- '**'
10-
11-
jobs:
12-
cpp_linter:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v6
17-
- name: Python Setup
18-
uses: actions/setup-python@v6
19-
with:
20-
python-version: 3.13
21-
cache: 'pip'
22-
cache-dependency-path: ./setup.cfg
23-
24-
- name: Install libraries
25-
run: make python-install-development
26-
27-
- name: Run clang-tidy
28-
run: make clang-tidy
1+
name: C++ Linters
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
cpp_linter:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v6
17+
- name: Python Setup
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version: 3.13
21+
cache: 'pip'
22+
cache-dependency-path: ./setup.cfg
23+
24+
- name: Install libraries
25+
run: make python-install-development
26+
27+
- name: Run clang-tidy
28+
run: make clang-tidy
Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
name: Python Linters
2-
3-
on:
4-
push:
5-
branches:
6-
- '**'
7-
pull_request:
8-
branches:
9-
- '**'
10-
11-
jobs:
12-
python_linter:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v6
17-
- name: Python Setup
18-
uses: actions/setup-python@v6
19-
with:
20-
python-version: 3.13
21-
cache: 'pip'
22-
cache-dependency-path: ./setup.cfg
23-
24-
- name: Install libraries
25-
run: make python-install-development
26-
27-
- name: Run mypy
28-
run: make mypy
29-
30-
- name: Run ruff
31-
run: make ruff
32-
33-
- name: Run flake8
34-
run: make flake8
35-
36-
- name: Run pylint
37-
run: make pylint
1+
name: Python Linters
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
python_linter:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v6
17+
- name: Python Setup
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version: 3.13
21+
cache: 'pip'
22+
cache-dependency-path: ./setup.cfg
23+
24+
- name: Install libraries
25+
run: make python-install-development
26+
27+
- name: Run mypy
28+
run: make mypy
29+
30+
- name: Run ruff
31+
run: make ruff
32+
33+
- name: Run flake8
34+
run: make flake8
35+
36+
- name: Run pylint
37+
run: make pylint

.github/workflows/unit_tests.yaml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: Run unit tests
2-
3-
on:
4-
push:
5-
branches:
6-
- '**'
7-
pull_request:
8-
branches:
9-
- '**'
10-
11-
jobs:
12-
pytest:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v6
17-
- name: Python Setup
18-
uses: actions/setup-python@v6
19-
with:
20-
python-version: 3.13
21-
cache: 'pip'
22-
cache-dependency-path: ./setup.cfg
23-
24-
- name: Install libraries
25-
run: make python-install-development
26-
27-
- name: Run pytest
28-
run: make pytest
1+
name: Run unit tests
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
pull_request:
8+
branches:
9+
- '**'
10+
11+
jobs:
12+
pytest:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v6
17+
- name: Python Setup
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version: 3.13
21+
cache: 'pip'
22+
cache-dependency-path: ./setup.cfg
23+
24+
- name: Install libraries
25+
run: make python-install-development
26+
27+
- name: Run pytest
28+
run: make pytest

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[FORMAT]
1+
[FORMAT]
22
max-line-length=120

0 commit comments

Comments
 (0)