agnesk92/pyGhost

View on GitHub

Showing 58 of 61 total issues

Function run has a Cognitive Complexity of 37 (exceeds 5 allowed). Consider refactoring.
Open

def run(self):
# Game loop
player_x_change = 0
player_y_change = 0
self.running = True
Severity: Minor
Found in pyGhost/game.py - About 5 hrs to fix

Similar blocks of code found in 2 locations. Consider refactoring.
Open

if event.key == pygame.K_LEFT or event.key == pygame.K_RIGHT:
player_x_change = 0
Severity: Minor
Found in pyGhost/game.py and 1 other location - About 40 mins to fix
pyGhost/game.py on lines 63..64

Similar blocks of code found in 2 locations. Consider refactoring.
Open

if event.key == pygame.K_UP or event.key == pygame.K_DOWN:
player_y_change = 0
Severity: Minor
Found in pyGhost/game.py and 1 other location - About 40 mins to fix
pyGhost/game.py on lines 61..62

Function create_walls has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

def create_walls(screen, chained=True, number=40, closed=False, symmetric=False):
Severity: Minor
Found in pyGhost/room.py - About 35 mins to fix

    Headers should be surrounded by blank lines
    Open

    # Create the docker group and add yourself - you'll need to re-login for this to take effect
    Severity: Info
    Found in README.md by markdownlint

    Line length
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/catkuro" title="catkuro">catkuro</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Line length
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/roundicons" title="Roundicons">Roundicons</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Trailing spaces
    Open

    ## About..
    Severity: Info
    Found in README.md by markdownlint

    Line length
    Open

    # Create the docker group and add yourself - you'll need to re-login for this to take effect
    Severity: Info
    Found in README.md by markdownlint

    Line length
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/smalllikeart" title="smalllikeart">smalllikeart</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Inline HTML
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/catkuro" title="catkuro">catkuro</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Inline HTML
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/smashicons" title="Smashicons">Smashicons</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Inline HTML
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Inline HTML
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Inline HTML
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Line length
    Open

    docker run --rm --env DISPLAY=unix$DISPLAY -v $XAUTH:/root/.Xauthority -v /tmp/.X11-unix:/tmp/.X11-unix -it pyghost-ubuntu:v1.0 bash
    Severity: Info
    Found in README.md by markdownlint

    Header levels should only increment by one level at a time
    Open

    #### Ubuntu
    Severity: Info
    Found in README.md by markdownlint

    Headers should be surrounded by blank lines
    Open

    # Run the Docker daemon
    Severity: Info
    Found in README.md by markdownlint

    Line length
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/smashicons" title="Smashicons">Smashicons</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint

    Inline HTML
    Open

    <div>Icons made by <a href="https://www.flaticon.com/authors/catkuro" title="catkuro">catkuro</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
    Severity: Info
    Found in CREDITS.md by markdownlint
    Severity
    Category
    Status
    Source
    Language