Skip to content

mypy config in pyproject.toml #100

Open
@lwasser

Description

@lwasser

Right now ther eis a bunch of mypy stuff that is all commented out. it's a bit confusing as to why it's there but all commented out. I wonder if we can create some defaults around mypy and set those up for the user?

I also noticed some spacing issues abbove the # TODO: Adjust mypy configuration. line that we can fix in the template with appropriate -

[tool.pydoclint]
style = "numpy"
arg-type-hints-in-signature = true
arg-type-hints-in-docstring = true
check-return-types = false
check-yield-types = false
exclude = "_version.py"
# TODO: Adjust mypy configuration.
#[tool.mypy]
#plugins = [
#    "pydantic.mypy",
#]

# Stop mypy from complaining about missing types from imports.
#[[tool.mypy.overrides]]
#module = [
#    "pandas",
#]
#ignore_missing_imports = true

#[tool.pydantic-mypy]
#init_forbid_extra = true
#init_typed = true
#warn_required_dynamic_aliases = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions