-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from iory/rcb4-ros-bridge
Refactor Rcb4 ros bridge
- Loading branch information
Showing
15 changed files
with
748 additions
and
523 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
[tool.ruff] | ||
target-version = "py38" | ||
line-length = 90 | ||
|
||
# See https://github.com/charliermarsh/ruff#rules for error code definitions. | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
# "ANN", # annotations | ||
"B", # bugbear | ||
"C", # comprehensions | ||
"E", # style errors | ||
"F", # flakes | ||
"I", # import sorting | ||
"RUF", # ruff specific rules | ||
"UP", # upgrade | ||
"W", # style warnings | ||
"YTT", # sys.version | ||
"ISC002", | ||
"NPY201", | ||
"TID251" | ||
] | ||
|
||
ignore = [ | ||
"C901", # Comprehension is too complex (11 > 10) | ||
"N802", # Function name should be lowercase | ||
"N806", # Variable in function should be lowercase | ||
"E501", # Line too long ({width} > {limit} characters) | ||
"B904", # raise ... from err | ||
"B905", # zip() without an explicit strict= parameter | ||
"RUF005", # recommends non-type-aware expansion | ||
"UP008", | ||
] | ||
|
||
# don't allow implicit string concatenation | ||
flake8-implicit-str-concat = {"allow-multiline" = false} | ||
|
||
[tool.ruff.lint.isort] | ||
force-single-line = true | ||
force-sort-within-sections = true | ||
order-by-type = false | ||
|
||
[tool.ruff.lint.flake8-tidy-imports.banned-api] | ||
"IPython.embed".msg = "you forgot to remove a debug embed ;)" | ||
"numpy.empty".msg = "uninitialized arrays are haunted try numpy.zeros" |
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
Oops, something went wrong.