From f160acfe5721ea014abe93fda8c914363b747e57 Mon Sep 17 00:00:00 2001 From: A_D Date: Mon, 24 Jan 2022 14:19:18 +0200 Subject: [PATCH] add configs for switching platforms --- .mypy.ini | 1 + pyproject.toml | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.mypy.ini b/.mypy.ini index 03840fd9..f9ec5997 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -2,3 +2,4 @@ follow_imports = skip ignore_missing_imports = True scripts_are_modules = True +; platform = darwin diff --git a/pyproject.toml b/pyproject.toml index 35ab26e4..a7f41ad4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,10 +3,13 @@ max_line_length = 120 [tool.isort] multi_line_output = 5 -line_length = 119 +line_length = 119 [tool.pytest.ini_options] testpaths = ["tests"] # Search for tests in tests/ [tool.coverage.run] -omit = ["venv/*"] # when running pytest --cov, dont report coverage in venv directories +omit = ["venv/*"] # when running pytest --cov, dont report coverage in venv directories + +[tool.pyright] +# pythonPlatform = 'Darwin'