line-length = 100 target-version = "py311" [lint] select = ["E", "F", "I", "UP", "B", "SIM"] [lint.per-file-ignores] # The fixture in this file is one round of MegaMek's own HTML log, pasted # verbatim, and one of its lines is 126 characters because that is how MegaMek # wrote it. Rewrapping it would make the fixture stop being the thing under # test, and a `# noqa` cannot go on a line that is inside a string literal # without becoming part of the string. "tests/test_melee.py" = ["E501"]