Skip to content

Commit

Permalink
Further condition ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
paulf81 committed Dec 6, 2023
1 parent a040947 commit 0d50c20
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0d50c20

Please sign in to comment.