ruff: check newline (#30668)

* check newline

* nothing catches this
old-commit-hash: 97da129e11
chrysler-long2
Shane Smiskol 1 year ago committed by GitHub
parent 280bef4b0c
commit f5d1c4f371
  1. 8
      conftest.py
  2. 2
      pyproject.toml

@ -52,7 +52,7 @@ def pytest_collection_modifyitems(config, items):
@pytest.hookimpl(trylast=True)
def pytest_configure(config):
config_line = (
"xdist_group_class_property: group tests by a property of the class that contains them"
)
config.addinivalue_line("markers", config_line)
config_line = (
"xdist_group_class_property: group tests by a property of the class that contains them"
)
config.addinivalue_line("markers", config_line)

@ -181,7 +181,7 @@ build-backend = "poetry.core.masonry.api"
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
[tool.ruff]
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF008", "RUF100", "A", "B", "TID251"]
ignore = ["W292", "E741", "E402", "C408", "ISC003", "B027", "B024"]
ignore = ["E741", "E402", "C408", "ISC003", "B027", "B024"]
line-length = 160
target-version="py311"
exclude = [

Loading…
Cancel
Save