diff --git a/pyproject.toml b/pyproject.toml index a629b786..7d732eeb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,48 +64,11 @@ exclude = [ # Allow unused variables when underscore-prefixed. dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" -# [tool.ruff.per-file-ignores] -# # F841 unused-variable: ignore since this file uses numexpr and many variables look unused -# "floris/simulation/wake_deflection/jimenez.py" = ["F841"] -# "floris/simulation/wake_velocity/jensen.py" = ["F841"] -# "floris/simulation/wake_velocity/gauss.py" = ["F841"] - -# # FIXME -# "floris/tools/interface_utilities.py" = ["F821"] -# "floris/tools/wind_rose.py" = ["F821"] [tool.ruff.isort] combine-as-imports = true known-first-party = ["flasc"] order-by-type = false -# [tool.ruff.mccabe] -# # Unlike Flake8, default to a complexity level of 10. -# max-complexity = 10 - - -# [tool.isort] -# sections = [ -# "FUTURE", -# "STDLIB", -# "THIRDPARTY", -# "FIRSTPARTY", -# "LOCALFOLDER" -# ] -# known_first_party = [ -# "flasc" -# ] -# multi_line_output = 3 -# combine_as_imports = true -# force_grid_wrap = 3 -# include_trailing_comma = false -# use_parentheses = true -# lines_after_imports = 2 -# line_length = 100 -# order_by_type = false +[tool.ruff.format] -# length_sort = true -# case_sensitive: False -# force_sort_within_sections: True -# reverse_relative: True -# sort_relative_in_force_sorted_sections: True \ No newline at end of file