Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Eliminate non-unique file names for python modules #353

Open
@tst-ccamp

Description

@tst-ccamp

There are many python modules which use the same file and parent directory names, such as common/utils.py. This has already been seen to cause accidental issues as python versions are updated, see #351. This could happen again. In order to prevent that and to avoid such issues in the future, we should avoid using file names that are not unique across different submodules in the project.

AC

  1. Survey the python files and rename commonly named modules such as utils.py to something more appropriate, such as cutter_utils.py
  2. Update other python files that import those modules to the new name
  3. Update the server install script to remove the old python .py and .pyc files if they exist in the target directories

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions