From c1097eadec94870cce966acbc10e3836eeafa62d Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Fri, 16 Jun 2023 19:24:01 +0300 Subject: [PATCH] Swapped flake8 to ruff --- pyproject.toml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 53ca1a8..14cbde0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,8 @@ -[build-system] -requires = ["setuptools>=42.0", "wheel"] -build-backend = "setuptools.build_meta" - [tool.mypy] check_untyped_defs = true disallow_any_generics = true ignore_missing_imports = true -mypy_path = "FOSSDB_web" +mypy_path = "FOSSDB" no_implicit_optional = true no_implicit_reexport = true show_error_codes = true @@ -15,3 +11,10 @@ warn_redundant_casts = true warn_return_any = true warn_unreachable = true warn_unused_configs = true + +[tool.ruff] +line-length = 160 + + +[tool.ruff.flake8-quotes] +docstring-quotes = "double"