Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylint default #541

Merged
merged 29 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
023e748
move deplicate spelling exceptions to default dict
Christian-B Jan 19, 2024
a094984
spelling fixes
Christian-B Jan 31, 2024
85147ae
spelling fixes
Christian-B Feb 2, 2024
33c2d8d
add docs and typing
Christian-B Feb 2, 2024
2647021
fix spacing error
Christian-B Feb 2, 2024
fef038d
group imports
Christian-B Feb 2, 2024
e9ed754
standardize import order
Christian-B Feb 2, 2024
bdcb2b6
pylint: disable=import-outside-toplevel
Christian-B Feb 2, 2024
f51d2de
replace line incorrectly removed
Christian-B Feb 5, 2024
4435b63
refactored to standard python method name
Christian-B Feb 5, 2024
75b1756
remove unneccessary keys() call
Christian-B Feb 5, 2024
b4c0e91
use list not single tuple for slots
Christian-B Feb 5, 2024
4f7a30b
remove rouge brackets
Christian-B Feb 5, 2024
43445c4
f string
Christian-B Feb 5, 2024
c741f28
pylint: disable=unnecessary-lambda-assignment
Christian-B Feb 5, 2024
aff6176
enumerate
Christian-B Feb 5, 2024
c366b48
pylint: disable=import-error,import-outside-toplevel
Christian-B Feb 5, 2024
dcb2f14
manual run file updated
Christian-B Feb 5, 2024
702b4c6
avoid using IE
Christian-B Feb 5, 2024
0860981
more typing
Christian-B Feb 5, 2024
cd75f48
Merge branch 'placement_json' into pylint_default
Christian-B Feb 5, 2024
d7a25f1
merged in master
Christian-B Feb 5, 2024
9c9edb7
small changes to avoid spelling exception
Christian-B Feb 12, 2024
4a1d06b
move spelling exceptions to support scripts
Christian-B Feb 12, 2024
ed5fca3
use pylint rcfile in SupportScripts
Christian-B Feb 16, 2024
45a30f0
temporarily add other spinnaker repositories
Christian-B Feb 16, 2024
6fb15df
use SupportScripts/actions/pylint/strict_rcfile for pylint
Christian-B Feb 29, 2024
1c98b82
fix spellings in comments
Christian-B Feb 29, 2024
6e68dbb
please the spell checker
Christian-B Feb 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,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
58 changes: 3 additions & 55 deletions .pylint_dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,59 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Our abbreviations/names
Navaridas
NER

# Our types
AbstractEdge
AbstractEdgePartition
AbstractMulticastRoutingTable
AbstractSDRAM
AbstractSDRAMPartition
AbstractSingleSourcePartition
AbstractVertex
ApplicationEdge
ApplicationEdgePartition
ApplicationVertex
BaseKeyAndMask
ChipAndCore
FPGAConnection
IPTag
IPtagResource
MachineEdge
MachineVertex
MulticastEdgePartition
MulticastRoutingTable
PacmanAlreadyExistsException
PlacementTuple
ReverseIPtagResource
RoutingTableEntry
RoutingInfo
RoutingTree
RTEntry
SDRAMMachineEdge
ValidationError

# Python packages
jsonschema
pacman

# Others' types
FileIO

# Python bits
maxsize

# Our special words
mergable
precompressed
precompression
precompressor
quicksort
obj
reorderable
sdram
subobj
vartype
xy
# 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
Loading