cgtobi/PyRMVtransport

View on GitHub
RMVtransport/rmvjourney.py

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Using objectify to parse untrusted XML data is known to be vulnerable to XML attacks. Replace objectify with the equivalent defusedxml package.
Open

from lxml import objectify  # type: ignore

Severity: Info
Found in RMVtransport/rmvjourney.py by bandit

RMVjourney has 25 functions (exceeds 20 allowed). Consider refactoring.
Open

class RMVjourney:
    """A journey object to hold information about a journey."""

    def __init__(self, journey: objectify.ObjectifiedElement, now: datetime) -> None:
        """Initialize the journey object."""
Severity: Minor
Found in RMVtransport/rmvjourney.py - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status