diff --git a/pyproject.toml b/pyproject.toml index 4335056ae48c..4272ab1da054 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,11 +8,9 @@ requires = [ ] [tool.isort] -known_mpltoolkits = "mpl_toolkits" known_pydata = "numpy, matplotlib.pyplot" -known_firstparty = "matplotlib" -sections = "FUTURE,STDLIB,THIRDPARTY,PYDATA,FIRSTPARTY,MPLTOOLKITS,LOCALFOLDER" -no_lines_before = "MPLTOOLKITS" +known_firstparty = "matplotlib,mpl_toolkits" +sections = "FUTURE,STDLIB,THIRDPARTY,PYDATA,FIRSTPARTY,LOCALFOLDER" force_sort_within_sections = true [tool.ruff]