Skip to content

Resolve "consider_additional_ruff_rules"

Julius Balzer requested to merge 285-consider_additional_ruff_rules into development

Summary

Main changes:

  • pandas-vet:
    • Use .isna() instead of .isnull()
    • Don't use df as a dataframe variable name
    • Use .to_numpy() instead of .values
  • flake8-bugbear:
    • Raise exceptions from another exception or None when thrown in an except block
  • flake8-pyi:
    • Change return type to Self for selected methods
  • flake8-builtin
    • Don't use predefined keywords as variable names

Explain your context

(Explain what you did.)

Please list breaking changes, new features or bugfixes

  • Breaking changes:
  • New features:
  • Bugfixes:

Closes #285 (closed) Also closes #295 (closed)

Edited by Julius Balzer

Merge request reports