Skip to content

Commit 6831d8c

Browse files
author
Robert Muchsel
authored
Upgrade linter (#315)
1 parent bc8a8f3 commit 6831d8c

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/linters/.python-lint

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[MESSAGES CONTROL]
2-
disable=invalid-name, consider-using-with, fixme, import-error
2+
disable=invalid-name, consider-using-with, fixme, import-error, duplicate-code, not-callable
33
[TYPECHECK]
44
ignored-modules = numpy, matplotlib.cm, torch
55
ignored-classes = ModelProto

.github/workflows/linter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020

2121
- name: Lint code
22-
uses: github/super-linter/slim@v4
22+
uses: super-linter/super-linter/slim@v5
2323
env:
2424
VALIDATE_ALL_CODEBASE: true
2525
DEFAULT_BRANCH: develop

.pylintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[MESSAGES CONTROL]
2-
disable=invalid-name, consider-using-with
2+
disable=invalid-name, consider-using-with, duplicate-code, not-callable
33
[TYPECHECK]
44
ignored-modules = numpy, matplotlib.cm, torch
55
ignored-classes = ModelProto

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ADI MAX78000/MAX78002 Model Training and Synthesis
22

3-
October 23, 2023
3+
October 25, 2023
44

55
ADI’s MAX78000/MAX78002 project is comprised of five repositories:
66

@@ -13,7 +13,7 @@ ADI’s MAX78000/MAX78002 project is comprised of five repositories:
1313
4. The synthesis repository, which is used to *convert a trained model into C code* using the “izer” tool:
1414
[ai8x-synthesis](https://github.com/MaximIntegratedAI/ai8x-synthesis) **(described in this document)**
1515
5. The reference design repository, which contains host applications and sample applications for reference designs such as [MAXREFDES178 (Cube Camera)](https://www.analog.com/en/design-center/reference-designs/maxrefdes178.html):
16-
[refdes](https://github.com/MaximIntegratedAI/refdes)
16+
[refdes](https://github.com/Analog-Devices-MSDK/refdes)
1717
*Note: Examples for EVkits and Feather boards are part of the MSDK*
1818

1919
_Open the `.md` version of this file in a markdown enabled viewer, for example Typora (<http://typora.io>).

README.pdf

5 Bytes
Binary file not shown.

assets/vscode/template/.vscode/launch.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"MIMode": "gdb",
1414
"linux": {
1515
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
16-
"debugServerPath": "${config:OCD_path}/openocd",
16+
"debugServerPath": "${config:OCD_path}/openocd"
1717
},
1818
"windows": {
1919
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb.exe",
20-
"debugServerPath": "${config:OCD_path}/openocd.exe",
20+
"debugServerPath": "${config:OCD_path}/openocd.exe"
2121
},
2222
"osx": {
2323
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
24-
"debugServerPath": "${config:OCD_path}/bin/openocd",
24+
"debugServerPath": "${config:OCD_path}/bin/openocd"
2525
},
2626
"logging": {
2727
"exceptions": true,
@@ -63,15 +63,15 @@
6363
"MIMode": "gdb",
6464
"linux": {
6565
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
66-
"debugServerPath": "${config:OCD_path}/openocd",
66+
"debugServerPath": "${config:OCD_path}/openocd"
6767
},
6868
"windows": {
6969
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb.exe",
70-
"debugServerPath": "${config:OCD_path}/openocd.exe",
70+
"debugServerPath": "${config:OCD_path}/openocd.exe"
7171
},
7272
"osx": {
7373
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
74-
"debugServerPath": "${config:OCD_path}/bin/openocd",
74+
"debugServerPath": "${config:OCD_path}/bin/openocd"
7575
},
7676
"logging": {
7777
"exceptions": true,
@@ -101,4 +101,4 @@
101101
]
102102
}
103103
]
104-
}
104+
}

assets/vscode/template/.vscode/tasks.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@
101101
],
102102
"problemMatcher": [],
103103
"dependsOn":[]
104-
},
104+
}
105105
]
106-
}
106+
}

0 commit comments

Comments
 (0)