Skip to content

Commit

Permalink
Upgrade linter (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Muchsel authored Oct 25, 2023
1 parent bc8a8f3 commit 6831d8c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/linters/.python-lint
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[MESSAGES CONTROL]
disable=invalid-name, consider-using-with, fixme, import-error
disable=invalid-name, consider-using-with, fixme, import-error, duplicate-code, not-callable
[TYPECHECK]
ignored-modules = numpy, matplotlib.cm, torch
ignored-classes = ModelProto
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint code
uses: github/super-linter/slim@v4
uses: super-linter/super-linter/slim@v5
env:
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: develop
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[MESSAGES CONTROL]
disable=invalid-name, consider-using-with
disable=invalid-name, consider-using-with, duplicate-code, not-callable
[TYPECHECK]
ignored-modules = numpy, matplotlib.cm, torch
ignored-classes = ModelProto
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ADI MAX78000/MAX78002 Model Training and Synthesis

October 23, 2023
October 25, 2023

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

Expand All @@ -13,7 +13,7 @@ ADI’s MAX78000/MAX78002 project is comprised of five repositories:
4. The synthesis repository, which is used to *convert a trained model into C code* using the “izer” tool:
[ai8x-synthesis](https://github.com/MaximIntegratedAI/ai8x-synthesis) **(described in this document)**
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):
[refdes](https://github.com/MaximIntegratedAI/refdes)
[refdes](https://github.com/Analog-Devices-MSDK/refdes)
*Note: Examples for EVkits and Feather boards are part of the MSDK*

_Open the `.md` version of this file in a markdown enabled viewer, for example Typora (<http://typora.io>).
Expand Down
Binary file modified README.pdf
Binary file not shown.
14 changes: 7 additions & 7 deletions assets/vscode/template/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"MIMode": "gdb",
"linux": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"debugServerPath": "${config:OCD_path}/openocd",
"debugServerPath": "${config:OCD_path}/openocd"
},
"windows": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe"
},
"osx": {
"miDebuggerPath": "${config:ARM_GCC_path}/bin/arm-none-eabi-gdb",
"debugServerPath": "${config:OCD_path}/bin/openocd",
"debugServerPath": "${config:OCD_path}/bin/openocd"
},
"logging": {
"exceptions": true,
Expand Down Expand Up @@ -63,15 +63,15 @@
"MIMode": "gdb",
"linux": {
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/openocd",
"debugServerPath": "${config:OCD_path}/openocd"
},
"windows": {
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe",
"debugServerPath": "${config:OCD_path}/openocd.exe"
},
"osx": {
"miDebuggerPath": "${config:xPack_GCC_path}/bin/riscv-none-embed-gdb",
"debugServerPath": "${config:OCD_path}/bin/openocd",
"debugServerPath": "${config:OCD_path}/bin/openocd"
},
"logging": {
"exceptions": true,
Expand Down Expand Up @@ -101,4 +101,4 @@
]
}
]
}
}
4 changes: 2 additions & 2 deletions assets/vscode/template/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@
],
"problemMatcher": [],
"dependsOn":[]
},
}
]
}
}

0 comments on commit 6831d8c

Please sign in to comment.