8c18cecf15a8935d8bf712edcc91ac05daf2176e,appengine/standard/noxfile-template.py,,,#,26
Before Change
// DO NOT EDIT - automatically generated.
// All versions used to tested samples.
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8"]
// Any default versions that should be ignored.
IGNORED_VERSIONS = ["3.6", "3.7", "3.8"]
TESTED_VERSIONS = sorted([v for v in ALL_VERSIONS if v not in IGNORED_VERSIONS])
//
// Style Checks
After Change
// with `noxfile_config.py`. Users will copy `noxfile_config.py` into
// their directory and modify it.
TEST_CONFIG = {
// You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7"],
// An envvar key for determining the project id to use. Change it
// to "BUILD_SPECIFIC_GCLOUD_PROJECT" if you want to opt in using a
// build specific Cloud project. You can also use your own string
// to use your own Cloud project.
"gcloud_project_env": "GOOGLE_CLOUD_PROJECT",
// "gcloud_project_env": "BUILD_SPECIFIC_GCLOUD_PROJECT",
// A dictionary you want to inject into your test. Don"t put any
// secrets here. These values will override predefined values.
"envs": {},
}
try:
// Ensure we can import noxfile_config in the project"s directory.
sys.path.append(".")
from noxfile_config import TEST_CONFIG_OVERRIDE
except ImportError as e:
print("No user noxfile_config found: detail: {}".format(e))
TEST_CONFIG_OVERRIDE = {}
// Update the TEST_CONFIG with the user supplied values.
TEST_CONFIG.update(TEST_CONFIG_OVERRIDE)
def get_pytest_env_vars():
Returns a dict for pytest invocation.
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 8c18cecf15a8935d8bf712edcc91ac05daf2176e
Time: 2020-06-16
Author: tmatsuo@google.com
File Name: appengine/standard/noxfile-template.py
Class Name:
Method Name:
Project Name: raghakot/keras-vis
Commit Name: 9f221345e7a58804e347f2a1879b06922222413b
Time: 2017-07-03
Author: ragha@outlook.com
File Name: docs/md_autogen.py
Class Name: MarkdownAPIGenerator
Method Name: module2md
Project Name: oval-group/logger
Commit Name: 0e133ac8f1ff4858e70d9f1888967e456c43211d
Time: 2017-11-20
Author: leonardbj@hotmail.fr
File Name: logger/plotter.py
Class Name: Plotter
Method Name: plot_metric
Project Name: metagenome-atlas/atlas
Commit Name: dd6190e78c5e8ac449c2b899045b6666dcd1fb3f
Time: 2018-05-25
Author: silas.kieser@gmail.com
File Name: atlas/report/qc_report.py
Class Name:
Method Name: get_pe_read_quality_plot