Skip to content

Hardcoded 1970 value in core/base.py #1094

Description

@genedan

There's a hardcoded 1970 value in core/base.py:

if (
pd.Series(development_date).dt.year.min()
== pd.Series(development_date).dt.year.max()
== 1970

I'm not sure what this is for, the meaning should become clear after this file goes through the annotation process. In any case, we've been moving values like this to the package __init__.py (from which I'd propose a distinct options module be spun-off eventually) to centralize the constants.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    Priority

    Medium

    Effort

    Medium

    Scope

    Codebase

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions