williamfzc/stagesepx

View on GitHub
stagesepx/cutter/cut_result.py

Summary

Maintainability
B
6 hrs
Test Coverage

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert len(stable_num_limit) == 2, "num_limit should be something like [1, 3]"
Severity: Info
Found in stagesepx/cutter/cut_result.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert 0.0 < threshold < 1.0, "threshold out of range"

Severity: Info
Found in stagesepx/cutter/cut_result.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert stage_id in self.data
Severity: Info
Found in stagesepx/cutter/cut_result.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert not os.path.exists(json_path), f"{json_path} already existed"
Severity: Info
Found in stagesepx/cutter/cut_result.py by bandit

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

        assert max_retry != 0, f"fail to get range dynamically: {stable_num_limit}"
Severity: Info
Found in stagesepx/cutter/cut_result.py by bandit

File cut_result.py has 471 lines of code (exceeds 250 allowed). Consider refactoring.
Invalid

import os
import typing
import cv2
import uuid
import json
Severity: Minor
Found in stagesepx/cutter/cut_result.py - About 7 hrs to fix

    Function pick_and_save has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
    Open

        def pick_and_save(
            self,
            range_list: typing.List[VideoCutRange],
            frame_count: int,
            to_dir: str = None,
    Severity: Minor
    Found in stagesepx/cutter/cut_result.py - About 1 hr to fix

    Cognitive Complexity

    Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

    A method's cognitive complexity is based on a few simple rules:

    • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
    • Code is considered more complex for each "break in the linear flow of the code"
    • Code is considered more complex when "flow breaking structures are nested"

    Further reading

    Function pick_and_save has 11 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

        def pick_and_save(
    Severity: Major
    Found in stagesepx/cutter/cut_result.py - About 1 hr to fix

      Function get_unstable_range has a Cognitive Complexity of 10 (exceeds 5 allowed). Consider refactoring.
      Open

          def get_unstable_range(
              self, limit: int = None, range_threshold: float = None, **kwargs
          ) -> typing.List[VideoCutRange]:
              """return unstable range only"""
              change_range_list = sorted(
      Severity: Minor
      Found in stagesepx/cutter/cut_result.py - About 1 hr to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function get_range has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.
      Open

          def get_range(
              self, limit: int = None, unstable_limit: int = None, **kwargs
          ) -> typing.Tuple[typing.List[VideoCutRange], typing.List[VideoCutRange]]:
              """
              return stable_range_list and unstable_range_list
      Severity: Minor
      Found in stagesepx/cutter/cut_result.py - About 55 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function diff has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def diff(
      Severity: Major
      Found in stagesepx/cutter/cut_result.py - About 50 mins to fix

        Function thumbnail has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def thumbnail(
        Severity: Minor
        Found in stagesepx/cutter/cut_result.py - About 45 mins to fix

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

              def get_range_dynamic(
          Severity: Minor
          Found in stagesepx/cutter/cut_result.py - About 35 mins to fix

            Function _prune has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
            Open

                def _prune(
                    threshold: float,
                    stages: typing.List[typing.Tuple[str, typing.List[VideoFrame]]],
                ) -> typing.List[typing.Tuple[str, typing.List[VideoFrame]]]:
                    logger.debug(
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py - About 35 mins to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Function thumbnail has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
            Open

                def thumbnail(
                    self,
                    target_range: VideoCutRange,
                    to_dir: str = None,
                    compress_rate: float = None,
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py - About 25 mins to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Line too long (85 > 79 characters)
            Open

                            i for i in merged_change_range_list if not i.is_loop(range_threshold)
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Blank line contains whitespace
            Open

                    
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Trailing whitespace is superfluous.

            The warning returned varies on whether the line itself is blank,
            for easier filtering for those who want to indent their blank lines.
            
            Okay: spam(1)\n#
            W291: spam(1) \n#
            W293: class Foo(object):\n    \n    bang = 12

            Line too long (83 > 79 characters)
            Open

                                    f"{os.path.basename(os.path.splitext(self.video.path)[0])}"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (85 > 79 characters)
            Open

                            compressed = toolbox.compress_frame(each_frame_object.data, **kwargs)
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (82 > 79 characters)
            Open

                                end_time=self.get_target_range_by_id(range_end_id).start_time,
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (86 > 79 characters)
            Open

                                start_time=self.get_target_range_by_id(range_start_id).start_time,
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (111 > 79 characters)
            Open

                    :param prune: float, 0-1. if set it 0.9, some stages which are too similar (ssim > 0.9) will be removed
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (80 > 79 characters)
            Open

                            to_dir, f"thumbnail_{target_range.start}-{target_range.end}.png"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (117 > 79 characters)
            Open

                        threshold: float, 0-1, default to 0.98. decided whether a range is stable. larger => more unstable ranges
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (82 > 79 characters)
            Open

                            "no unstable stage detected, seems nothing happened in your video"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (85 > 79 characters)
            Open

                            # frame {range_start_id} start time - frame {range_end_id} start time
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (81 > 79 characters)
            Open

                            see https://github.com/williamfzc/stagesepx/issues/17 for details
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (85 > 79 characters)
            Open

                    self, origin: typing.List[VideoCutRange], another: typing.List[VideoCutRange]
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (83 > 79 characters)
            Open

                    self.data = VideoCutResult.range_diff(self.origin, self.another, pre_hooks)
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (80 > 79 characters)
            Open

                        f"unstable range of [{self.video.path}]: {merged_change_range_list}"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (107 > 79 characters)
            Open

                    :param limit: ignore some ranges which are too short, 5 means ignore stable ranges which length < 5
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (86 > 79 characters)
            Open

                    assert len(stable_num_limit) == 2, "num_limit should be something like [1, 3]"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (99 > 79 characters)
            Open

                            f"stage counts not equal: {self_stable_range_count} & {another_stable_range_count}"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (118 > 79 characters)
            Open

                    :param unstable_limit: ignore some ranges which are too short, 5 means ignore unstable ranges which length < 5
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (89 > 79 characters)
            Open

                    :param compress_rate: float, 0 - 1, about thumbnail's size, default to 0.1 (1/10)
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (93 > 79 characters)
            Open

                        f"start pruning ranges, origin length is {len(stages)}, threshold is {threshold}"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (84 > 79 characters)
            Open

                        stable_num_limit, threshold=threshold, max_retry=max_retry - 1, **kwargs
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (137 > 79 characters)
            Open

                    :param meaningful_name: bool, False by default. if true, image names will become meaningful (with timestamp/id or something else)
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (83 > 79 characters)
            Open

                            same as threshold, but it decided whether a merged range is stable.
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Blank line contains whitespace
            Open

                        
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Trailing whitespace is superfluous.

            The warning returned varies on whether the line itself is blank,
            for easier filtering for those who want to indent their blank lines.
            
            Okay: spam(1)\n#
            W291: spam(1) \n#
            W293: class Foo(object):\n    \n    bang = 12

            Line too long (83 > 79 characters)
            Open

                    assert max_retry != 0, f"fail to get range dynamically: {stable_num_limit}"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (90 > 79 characters)
            Open

                    :param frame_count: default to 3, and finally you will get 3 frames for each range
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (82 > 79 characters)
            Open

                            max_one = sorted(each_result.items(), key=lambda x: max(x[1]))[-1]
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Blank line contains whitespace
            Open

                    
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Trailing whitespace is superfluous.

            The warning returned varies on whether the line itself is blank,
            for easier filtering for those who want to indent their blank lines.
            
            Okay: spam(1)\n#
            W291: spam(1) \n#
            W293: class Foo(object):\n    \n    bang = 12

            Line too long (86 > 79 characters)
            Open

                                f"frame [{each_frame_object.frame_id}] saved to {each_frame_path}"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (82 > 79 characters)
            Open

                            it will change the way to decided whether two ranges can be merged
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            Line too long (82 > 79 characters)
            Open

                                "NOTICE: make sure your data will not be polluted by accident"
            Severity: Minor
            Found in stagesepx/cutter/cut_result.py by pep8

            Limit all lines to a maximum of 79 characters.

            There are still many devices around that are limited to 80 character
            lines; plus, limiting windows to 80 characters makes it possible to
            have several windows side-by-side.  The default wrapping on such
            devices looks ugly.  Therefore, please limit all lines to a maximum
            of 79 characters. For flowing long blocks of text (docstrings or
            comments), limiting the length to 72 characters is recommended.
            
            Reports error E501.

            There are no issues that match your filters.

            Category
            Status