Skip to content

Commit 09febeb

Browse files
committed
remove trailing whitespace: clean up unnecessary whitespace in documentation, scripts, and configuration files
1 parent 50435ca commit 09febeb

90 files changed

Lines changed: 456 additions & 485 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ Makefile text eol=lf
3333
.pre-commit-config.yaml export-ignore
3434
tests/ export-ignore
3535
docs/ export-ignore
36-
*.md export-ignore
36+
*.md export-ignore

.github/workflows/pre-commit.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
pre-commit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v5
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: '3.11'
16+
- uses: pre-commit/action@v3.0.1

.github/workflows/stage-device-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757

5858
device-test-adb:
5959
if: |
60-
(github.event_name == 'workflow_dispatch' ||
61-
contains(github.event.head_commit.message, '[device-test-adb]')) &&
60+
(github.event_name == 'workflow_dispatch' ||
61+
contains(github.event.head_commit.message, '[device-test-adb]')) &&
6262
inputs.os == 'ubuntu-latest'
6363
runs-on: self-hosted
6464
steps:

.github/workflows/stage-lint-test.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ jobs:
3030
pip install -r requirements.txt
3131
pip install -e .
3232
33-
- name: Run Black
34-
run: black --check ovmobilebench tests
35-
36-
- name: Run Ruff
37-
run: ruff check ovmobilebench tests
38-
39-
- name: Run MyPy
40-
run: mypy ovmobilebench --ignore-missing-imports
41-
4233
- name: Run tests
4334
run: pytest tests/ -v --cov=ovmobilebench --cov=scripts --junitxml=junit.xml -o junit_family=legacy
4435

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,5 @@ experiments/results/
136136
ovmb_cache
137137
artifacts
138138
junit.xml
139+
140+
*.DS_Store*

.pre-commit-config.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,16 @@ repos:
3535
rev: v1.10.0
3636
hooks:
3737
- id: mypy
38-
additional_dependencies: [types-all]
38+
additional_dependencies: [types-PyYAML, types-paramiko]
3939
args: ['--ignore-missing-imports']
40-
exclude: '^tests/'
40+
files: '^ovmobilebench/(?!android/installer/).*\.py$'
4141

4242
- repo: https://github.com/pycqa/isort
4343
rev: 5.13.2
4444
hooks:
4545
- id: isort
4646
args: ['--profile', 'black', '--line-length', '100']
4747

48-
- repo: https://github.com/pycqa/docformatter
49-
rev: v1.7.5
50-
hooks:
51-
- id: docformatter
52-
args: ['--in-place', '--wrap-summaries', '100', '--wrap-descriptions', '100']
53-
5448
- repo: https://github.com/commitizen-tools/commitizen
5549
rev: v3.27.0
5650
hooks:
@@ -59,4 +53,7 @@ repos:
5953

6054
ci:
6155
autofix_prs: false
62-
autoupdate_schedule: monthly
56+
autoupdate_schedule: weekly
57+
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
58+
skip: []
59+
submodules: false

ARCHITECTURE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,25 +201,25 @@ Raw Output → Parsing → Aggregation → Format Conversion → Sink Writing
201201
project:
202202
name: string
203203
run_id: string
204-
204+
205205
build:
206206
openvino_repo: path
207207
toolchain:
208208
android_ndk: path
209-
209+
210210
device:
211211
kind: android|linux_ssh
212212
serials: [string]
213-
213+
214214
models:
215215
- name: string
216216
path: path
217-
217+
218218
run:
219219
matrix:
220220
threads: [int]
221221
nstreams: [string]
222-
222+
223223
report:
224224
sinks:
225225
- type: json|csv
@@ -356,4 +356,4 @@ report:
356356

357357
## License
358358

359-
Apache License 2.0
359+
Apache License 2.0

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040
/tests/ @ovmobilebench/qa-team
4141

4242
# Configuration examples
43-
/experiments/ @ovmobilebench/maintainers
43+
/experiments/ @ovmobilebench/maintainers

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ version 2.1, available at
8989
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
9090

9191
[homepage]: https://www.contributor-covenant.org
92-
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
92+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ Please read and follow our [Code of Conduct](CODE_OF_CONDUCT.md).
4646
```bash
4747
# Format code
4848
black ovmobilebench tests
49-
49+
5050
# Lint
5151
ruff ovmobilebench tests
52-
52+
5353
# Type check
5454
mypy ovmobilebench --ignore-missing-imports
55-
55+
5656
# Run tests
5757
pytest tests/
5858
```
@@ -62,7 +62,7 @@ Please read and follow our [Code of Conduct](CODE_OF_CONDUCT.md).
6262
git add .
6363
git commit -m "feat: add new feature"
6464
```
65-
65+
6666
Follow [Conventional Commits](https://www.conventionalcommits.org/):
6767
- `feat:` new feature
6868
- `fix:` bug fix
@@ -76,7 +76,7 @@ Please read and follow our [Code of Conduct](CODE_OF_CONDUCT.md).
7676
```bash
7777
git push origin feature/your-feature-name
7878
```
79-
79+
8080
Then create a Pull Request on GitHub.
8181

8282
## Development Guidelines

0 commit comments

Comments
 (0)