Skip to content

Commit

Permalink
disable pylint warning
Browse files Browse the repository at this point in the history
- wildcard-import
- unused-import
- duplicate-code
- too-many-public-methods
- too-many-arguments
- too-many-lines
- too-many-arguments
- import-error
- invalid-name
- too-many-branches
- too-many-instance-attributes
  • Loading branch information
Chr157i4n committed Nov 7, 2023
1 parent 54850e1 commit a1b2475
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/TMC_2209/TMC_2209_StepperDriver.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#pylint: disable=invalid-name
#pylint: disable=import-error
#pylint: disable=too-many-arguments
#pylint: disable=too-many-lines
#pylint: disable=too-many-arguments
#pylint: disable=too-many-public-methods
#pylint: disable=too-many-branches
#pylint: disable=too-many-instance-attributes
"""
TMC_2209 stepper driver module
"""
Expand Down
1 change: 1 addition & 0 deletions src/TMC_2209/TMC_2209_reg.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pylint: disable=invalid-name
"""
this file contains:
1. hexadecimal address of the different registers
Expand Down
2 changes: 2 additions & 0 deletions src/TMC_2209/TMC_2209_uart.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pylint: disable=invalid-name
#pylint: disable=import-error
"""
TMC_UART stepper driver uart module
"""
Expand Down
3 changes: 3 additions & 0 deletions tests/debug_script_01_uart_connection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pylint: disable=wildcard-import
#pylint: disable=unused-import
#pylint: disable=duplicate-code
"""
debug file for debuging the UART connection
"""
Expand Down
3 changes: 3 additions & 0 deletions tests/test_script_01_uart_connection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pylint: disable=wildcard-import
#pylint: disable=unused-import
#pylint: disable=duplicate-code
"""
test file for testing the UART connection
"""
Expand Down
3 changes: 3 additions & 0 deletions tests/test_script_02_pin_connection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pylint: disable=wildcard-import
#pylint: disable=unused-import
#pylint: disable=duplicate-code
"""
test file for testing the STEP, DIR, EN connection
"""
Expand Down
3 changes: 3 additions & 0 deletions tests/test_script_03_basic_movement.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pylint: disable=wildcard-import
#pylint: disable=unused-import
#pylint: disable=duplicate-code
"""
test file for testing basic movement
"""
Expand Down
3 changes: 3 additions & 0 deletions tests/test_script_04_stallguard.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pylint: disable=wildcard-import
#pylint: disable=unused-import
#pylint: disable=duplicate-code
"""
test file for testing the StallGuard feature
"""
Expand Down
3 changes: 3 additions & 0 deletions tests/test_script_05_vactual.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pylint: disable=wildcard-import
#pylint: disable=unused-import
#pylint: disable=duplicate-code
"""
test file for testing the VActual
"""
Expand Down
3 changes: 3 additions & 0 deletions tests/test_script_06_multiple_drivers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pylint: disable=wildcard-import
#pylint: disable=unused-import
#pylint: disable=duplicate-code
"""
test file for testing multiple drivers via one UART connection
"""
Expand Down
3 changes: 3 additions & 0 deletions tests/test_script_07_threads.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#pylint: disable=wildcard-import
#pylint: disable=unused-import
#pylint: disable=duplicate-code
"""
test file for testing movement of motors with threads
"""
Expand Down

0 comments on commit a1b2475

Please sign in to comment.