Skip to content

pyproject.toml contains obsolete csv_editor reference in coverage configuration #4

@jonpspri

Description

@jonpspri

Problem

The pyproject.toml file contains an obsolete reference to the old package name "csv_editor" in the coverage configuration section.

Inconsistent Section

pyproject.toml line 280:

[tool.coverage.run]
omit = [
    "*/tests/*",
    "*/__pycache__/*", 
    "*/site-packages/*",
    "src/csv_editor/__main__.py",  # ← This file doesn't exist
]

Authoritative Section

Actual package structure: src/databeak/ (not src/csv_editor/)

pyproject.toml lines 6, 120:

  • name = "databeak"
  • databeak = "databeak.server:main"

Also, src/databeak/main.py does not exist in the current codebase.

Why This Should Be Corrected

  1. Coverage Accuracy: Coverage tool is attempting to omit a non-existent file path
  2. Build Consistency: Configuration should reference actual package structure
  3. Maintenance Issues: Obsolete references make configuration harder to maintain
  4. Package Integrity: All references should use consistent "databeak" naming

Recommended Action

Update pyproject.toml line 280 to either:

  1. Remove the line entirely if src/databeak/__main__.py doesn't exist, or
  2. Update to "src/databeak/__main__.py" if the file should exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions