Skip to content

Instantly share code, notes, and snippets.

@DennyWeinberg
DennyWeinberg / settings.json
Last active September 1, 2023 09:07
A VS Code settings file that contains what's needed to work properly with python. It configures tests and linting, so all imports are recognized and all problems are detected correctly, globally. Please install the python extensions pack in VS Code first.
{
"python.testing.unittestArgs": [
"-v",
"-s",
"./tests",
"-p",
"test_*.py"
],
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true,
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software