Skip to content

Commit a602a79

Browse files
Reduced the type: ignore comments and allocated the structured dataclass (#393)
* Reduced the type: ignore comments and allocated the structured dataclass * Reduced the type: ignore comments and allocated the structured dataclass * fixed the lint issues * fixed the issues : change the name to service_spec, executed the reformat-source.sh etc. * refractored the code by adding dataclass and formated using reformat.sh * refractored the code by adding dataclass and formated using reformat.sh file * refractored the code by adding dataclass and formated using reformat.sh file * refractored the code by adding dataclass and formated using reformat.sh fil * refractored the code by adding dataclass and formated using reformat.sh * Refractoring the code base with dataclass * adding to remote branch * Remove odxtools/cli/.gitignore from the repository * Removing the obselete codes * removing auto-generated non-source files * removing the Any type and removing the obselete lines * adding the structured code base * refactor the compare tool to reduce the number of ype: ignore comments * refactor the compare tool to reduce the number of ype: ignore comments * refactor the compare tool to reduce the number of ype: ignore comments * fixed by adding odxtools/version.py to tool.ruff.exclude in pyproject.toml * attempt to fix the github actions for whatever reason, ruff starts to care about the `build/` subdirectory with #393 . Since this is probably an artifact of pip, let's just delete this directory before linting. Signed-off-by: Andreas Lauser <andreas.lauser@mercedes-benz.com> Signed-off-by: Christian Hackenbeck <christian.hackenbeck@mercedes-benz.com> * Restore .gitignore from upstream * Restored .gitignore from upstream and modified the type error * Reverting all the typo from List to list --------- Signed-off-by: Andreas Lauser <andreas.lauser@mercedes-benz.com> Signed-off-by: Christian Hackenbeck <christian.hackenbeck@mercedes-benz.com> Co-authored-by: Andreas Lauser <andreas.lauser@mercedes-benz.com>
1 parent b1a6d61 commit a602a79

File tree

3 files changed

+145
-170
lines changed

3 files changed

+145
-170
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
pip install --upgrade pip
5555
pip install .
5656
pip install .[test]
57+
rm -rf build
5758
5859
- name: Static type checking (mypy)
5960
run: |

0 commit comments

Comments
 (0)