Skip to content

Commit b9883e2

Browse files
committed
fix actual bug by makeing linter more strict
1 parent 525fba1 commit b9883e2

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

.pylintrc-wip

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ disable=blacklisted-name,
6666
empty-docstring,
6767
singleton-comparison,
6868
misplaced-comparison-constant,
69-
unidiomatic-typecheck,
7069
consider-using-enumerate,
7170
consider-iterating-dictionary,
7271
bad-classmethod-argument,
@@ -93,22 +92,13 @@ disable=blacklisted-name,
9392
syntax-error,
9493
unrecognized-inline-option,
9594
bad-option-value,
96-
init-is-generator,
9795
return-in-init,
98-
function-redefined,
99-
not-in-loop,
100-
return-outside-function,
101-
yield-outside-function,
102-
return-arg-in-generator,
103-
nonexistent-operator,
10496
duplicate-argument-name,
10597
abstract-class-instantiated,
10698
bad-reversed-sequence,
10799
too-many-star-expressions,
108100
invalid-star-assignment-target,
109101
star-needs-assignment-target,
110-
nonlocal-and-global,
111-
continue-in-finally,
112102
nonlocal-without-binding,
113103
used-prior-global-declaration,
114104
misplaced-format-function,

can/interfaces/systec/structures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def rx_buffer_entries(self, rx_buffer_entries): self.m_wNrOfRxBufferEntries = rx
165165
@property
166166
def tx_buffer_entries(self): return self.m_wNrOfTxBufferEntries
167167

168-
@rx_buffer_entries.setter
168+
@tx_buffer_entries.setter
169169
def tx_buffer_entries(self, tx_buffer_entries): self.m_wNrOfTxBufferEntries = tx_buffer_entries
170170

171171

0 commit comments

Comments
 (0)