Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more pre-commit checks (mccabe, bandit, mypy, etc) #557

Merged
merged 24 commits into from
Nov 21, 2023

Merge branch 'main' into precommit-mypy

a7e1f25
Select commit
Loading
Failed to load commit list.
Merged

Add more pre-commit checks (mccabe, bandit, mypy, etc) #557

Merge branch 'main' into precommit-mypy
a7e1f25
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
codefactor.io / CodeFactor failed Nov 21, 2023 in 2s

6 issues fixed. 11 issues found.

Annotations

Check notice on line 987 in pyresample/kd_tree.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/kd_tree.py#L987

unresolved comment '# TODO: Add 'chunks' keyword argument to this method and use it' (C100)

Check notice on line 296 in pyresample/ewa/dask_ewa.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/ewa/dask_ewa.py#L296

unresolved comment '# TODO: Create tuple of 2D arrays to operate on. For example:' (C100)

Check notice on line 105 in pyresample/future/resamplers/nearest.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/future/resamplers/nearest.py#L105

unresolved comment '# TODO: Add decorator for geom<->geom support' (C100)

Check notice on line 106 in pyresample/future/resamplers/nearest.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/future/resamplers/nearest.py#L106

unresolved comment '# TODO: Add decorator for object type support' (C100)

Check notice on line 216 in pyresample/future/resamplers/nearest.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/future/resamplers/nearest.py#L216

unresolved comment '# TODO: Add 'chunks' keyword argument to this method and use it' (C100)

Check notice on line 354 in pyresample/spherical.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/spherical.py#L354

unresolved comment '# TODO: this in future should point to SPoint or SMultiPoint' (C100)

Check notice on line 228 in pyresample/future/resamplers/resampler.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/future/resamplers/resampler.py#L228

unresolved comment '# TODO: convenience for file based caching' (C100)

Check notice on line 33 in pyresample/spherical_geometry.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/spherical_geometry.py#L33

unresolved comment '# FIXME: this has not been tested with R != 1' (C100)

Check notice on line 112 in pyresample/ewa/_legacy_dask_ewa.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/ewa/_legacy_dask_ewa.py#L112

unresolved comment '# FIXME: How do we check swath usage/coverage if we only do this' (C100)

Check notice on line 24 in pyresample/_config.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/_config.py#L24

unresolved comment '# FIXME: Use package_resources?' (C100)

Check notice on line 1088 in pyresample/kd_tree.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

pyresample/kd_tree.py#L1088

unresolved comment '# FIXME: Can't include coordinates whose dimensions depend on the geo dims either' (C100)