gmr/pgpasslib

View on GitHub

Showing 4 of 4 total issues

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

    def __init__(self, host, port, dbname, user, password):
Severity: Minor
Found in pgpasslib.py - About 35 mins to fix

    Invalid escape sequence ':'
    Open

            Per the spec, all instances of ``\:`` are replaced with ``:``.
    Severity: Minor
    Found in pgpasslib.py by pep8

    Invalid escape sequences are deprecated in Python 3.6.

    Okay: regex = r'\.png$'
    W605: regex = '\.png$'

    Invalid escape sequence ':'
    Open

            return value.replace('\:', ':')
    Severity: Minor
    Found in pgpasslib.py by pep8

    Invalid escape sequences are deprecated in Python 3.6.

    Okay: regex = r'\.png$'
    W605: regex = '\.png$'

    Invalid escape sequence '\p'
    Open

    or on Windows the ``pgpass.conf`` file in the ``%APPDATA%\postgresql`` folder.
    Severity: Minor
    Found in pgpasslib.py by pep8

    Invalid escape sequences are deprecated in Python 3.6.

    Okay: regex = r'\.png$'
    W605: regex = '\.png$'
    Severity
    Category
    Status
    Source
    Language