Skip to content

Commit

Permalink
Making linter happy
Browse files Browse the repository at this point in the history
Checked all source against Flake8
  • Loading branch information
ImanolBarba committed Jul 9, 2023
1 parent 451e686 commit ae87464
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 148 deletions.
18 changes: 14 additions & 4 deletions ps2mc.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@

"""Manipulate PS2 memory card images."""

_SCCS_ID = "@(#) mymc ps2mc.py 1.12 23/07/06 19:48:03\n"

import sys
import array
import struct
from errno import EACCES, ENOENT, EEXIST, ENOTDIR, EISDIR, EROFS, ENOTEMPTY,\
ENOSPC, EIO, EBUSY, EINVAL
from errno import (
EACCES,
ENOENT,
EEXIST,
ENOTDIR,
EISDIR,
ENOTEMPTY,
ENOSPC,
EIO,
EBUSY,
EINVAL,
)
import fnmatch
import traceback

Expand All @@ -22,6 +30,8 @@
from ps2mc_dir import *
import ps2save

_SCCS_ID = "@(#) mymc ps2mc.py 1.12 23/07/06 19:48:03\n"

PS2MC_MAGIC = "Sony PS2 Memory Card Format "
PS2MC_FAT_ALLOCATED_BIT = 0x80000000
PS2MC_FAT_CHAIN_END = 0xFFFFFFFF
Expand Down
Loading

0 comments on commit ae87464

Please sign in to comment.