Skip to content

Commit

Permalink
Merge pull request #1157 from SpiNNakerManchester/pylint_default
Browse files Browse the repository at this point in the history
Pylint default
  • Loading branch information
Christian-B authored Mar 4, 2024
2 parents 48784db + d4b7ede commit 93220b5
Show file tree
Hide file tree
Showing 80 changed files with 748 additions and 861 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
package: ${{ env.BASE_PKG }}
exitcheck: 31 # Action fails on any message
language: en_GB
rcfile: global_strict
- name: Lint with mypy
run: mypy $BASE_PKG

Expand Down
100 changes: 3 additions & 97 deletions .pylint_dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,101 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Our abbreviations/names
DDL
eieio
HBP
scp

# Our special words
borrowable
collab
cpu
iobuf
iptag
iptags
params
precompiled
malloc
malloc'ed
reentrant
regex
replacer
sdram
sql
txrx
url
xy

# Our types
AbstractEdge
AbstractEIEIOMessage
AbstractMulticastRoutingTable
AbstractSendsBuffersFromHost
AbstractVertex
ApplicationEdge
ApplicationGraph
ApplicationVertex
BMPConnectionData
BufferedSendingRegion
CommandSender
CoreToFill
CoreSubset
CoreSubsets
CPUState
DatabaseReader
DataSpecificationExecutor
DataSpecificationGenerator
DataSpeedUpPacketGatherMachineVertex
DataWritten
EIEIOPrefix
EIEIOType
ExecutableTargets
ExecutableType
ExtraMonitorSupportMachineVertex
IOBuffer
IPTag
IPtagResource
LiveOutputDevice
LivePacketGatherMachineVertex
LivePacketGatherParameters
MachineEdge
MachineGraph
MachineVertex
MultiCastCommand
MulticastRoutingTable
MulticastRoutingTables
PacmanConfigurationException
ProgressBar
ProvenanceDataItem
ReInjectionStatus
ReverseIPTag
RouterDiagnostics
RoutingTableEntry
SCAMPConnection
SDPMessage
SpallocClient
SpallocJob
UDPConnection
UnCompressedMulticastRoutingTable
VariableSDRAM

# Python packages
pacman
PyNN
spalloc
spinnman
SpiNNakerGraphFrontEnd
struct

# Python types
FileIO
RawIOBase
Struct
TextIOBase

# sqlite3.cursor methods mentioned in docs
fetchone
lastrowid
rowcount
WAL
# We use a single exception files for all the main repsitories
# It can be found at:
# https://github.com/SpiNNakerManchester/SupportScripts/blob/master/actions/pylint/default_dict.txt
Loading

0 comments on commit 93220b5

Please sign in to comment.