-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed MyPy issues and PyLint issues * Added pyproject.toml with black, mypy and pylint config * Applied black to python files * Update setup.py * Added github action for mypy and pylint with reviewdog * Using Python 3.9 to make sure everything works with old version of Python * Removed base_type_is_struct and base_type_is_enum from LrpcVar. If a custom type is an enum or struct, the type field of LrpcVar is prepended with `enum@` or `struct@` by LrpcDef * Enable build with MSVC * C++ version to 14 for now * Compiler warnings as errors off for now * MSVC code analysis configuration * Fix some SonarCloud issues * Added logging to report definition warnings and errors * Normalized loading LrpcDef from various sources --------- Co-authored-by: tzijnge <[email protected]> Co-authored-by: Timon Zijnge <[email protected]>
- Loading branch information
1 parent
07b0767
commit 3510950
Showing
76 changed files
with
3,272 additions
and
2,573 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 |
---|---|---|
|
@@ -14,13 +14,19 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
submodules: "true" | ||
|
||
- name: Install Python requirements | ||
run: pip install -r requirements.txt | ||
run: | | ||
pip install -r requirements/package.txt | ||
pip install -r requirements/dev.txt | ||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Reviewdog | ||
on: [pull_request] | ||
jobs: | ||
Reviewdog: | ||
name: Reviewdog | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install mypy | ||
run: pip install mypy | ||
- name: Install requirements | ||
run: pip install -r requirements/dev.txt | ||
- name: Run MyPy | ||
uses: tsuyoshicho/action-mypy@v4 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-pr-review | ||
level: error | ||
fail_on_error: false | ||
- name: Run PyLint | ||
uses: dciborow/[email protected] | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-pr-review | ||
level: error | ||
glob_pattern: "package" | ||
fail_on_error: 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#pragma once | ||
|
||
#ifdef _MSC_VER | ||
#define ETL_ENDIAN_NATIVE 0 | ||
#endif |
Empty file.
Oops, something went wrong.