mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 19:30:25 +00:00
ruff: use readable rule names in selectors
This commit is contained in:
@@ -66,5 +66,5 @@ commands = pytest --cov --cov-report=term tests
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -33,7 +33,7 @@ exclude = ["test*"]
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[tool.ruff]
|
||||
extend = "../pyproject.toml"
|
||||
lint.ignore = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -47,5 +47,5 @@ py-modules = ["bsdd","bsdd_json","type_hints"]
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -32,5 +32,5 @@ exclude = ["test*"]
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -44,5 +44,5 @@ exclude = ["test*"]
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -30,5 +30,5 @@ py-modules = ["ifccsv"]
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -49,5 +49,5 @@ include = ["ifcopenshell*"]
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -37,5 +37,5 @@ extend = "../../pyproject.toml"
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
@@ -46,5 +46,5 @@ exclude = ["test*"]
|
||||
[tool.ruff]
|
||||
extend = "../../pyproject.toml"
|
||||
lint.extend-select = [
|
||||
"F401", # unused imports
|
||||
"unused-import", # unused imports
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user