diff --git a/mkdocs/tests/integration.py b/mkdocs/tests/integration.py index f7292874..a992cac6 100644 --- a/mkdocs/tests/integration.py +++ b/mkdocs/tests/integration.py @@ -55,7 +55,7 @@ def main(output=None): log.debug(f"Building theme: {theme}") project_dir = os.path.dirname(MKDOCS_CONFIG) out = os.path.join(output, theme) - command = base_cmd + [out, '--theme', theme] + command = [*base_cmd, out, '--theme', theme] subprocess.check_call(command, cwd=project_dir) log.debug("Building test projects.") @@ -65,7 +65,7 @@ def main(output=None): continue log.debug(f"Building test project: {project}") out = os.path.join(output, project) - command = base_cmd + [out] + command = [*base_cmd, out] subprocess.check_call(command, cwd=project_dir) log.debug(f"Theme and integration builds are in {output}") diff --git a/pyproject.toml b/pyproject.toml index 677cab59..c7ef8501 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -219,14 +219,15 @@ line_length = 100 [tool.ruff] select = [ - "F", "W", "E", "UP", "YTT", "C4", "FA", "PIE", "T20", "RSE", "TCH", "DTZ", + "F", "W", "E", "UP", "YTT", "C4", "DTZ", "FA", "ISC", "PIE", "T20", "RSE", "TCH", "B002", "B003", "B005", "B007", "B009", "B012", "B013", "B014", "B015", "B018", "B020", "B021", "B023", "B026", "B033", "B034", "B905", "COM818", "D200", "D201", "D202", "D204", "D207", "D208", "D209", "D210", "D211", "D213", "D214", "D300", "D301", "D400", "D402", "D403", "D405", "D412", "D414", "D415", "D416", "D417", "D419", "PERF101", "PGH002", "PGH004", "PGH005", - "PLE", "PLW0120", "PLW0127", - "RUF001", "RUF007", "RUF010", "RUF100", "RUF200", + "FLY002", + "PLC", "PLE", "PLR0124", "PLR0133", "PLR0206", "PLR0402", "PLR1701", "PLR1722", "PLW0120", "PLW0127", "PLW0129", "PLW0131", "PLW0406", "PLW0602", "PLW0603", "PLW0711", + "RUF001", "RUF005", "RUF007", "RUF010", "RUF013", "RUF100", "RUF200", "SIM101", "SIM107", "SIM201", "SIM202", "SIM208", "SIM210", "SIM211", "SIM300", "SIM401", "SIM910", ] ignore = ["E501", "E731"]