* Dockerfile to 3.9 * Python version * More python updates * 3.9 on GitHub actions and lint updates * Test out 3.9.11 on GitHub actions * install python with an action * formatting: newline * Also has python code * only check first level for changed modules Previous example (source-google-search-console/credentials) * Test failure: there is no logger.trace
37 lines
840 B
Python
37 lines
840 B
Python
#
|
|
# Copyright (c) 2021 Airbyte, Inc., all rights reserved.
|
|
#
|
|
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
MAIN_REQUIREMENTS = [
|
|
"requests",
|
|
"ci_common_utils",
|
|
"unidiff",
|
|
"mdutils~=1.3.1",
|
|
"mypy==0.930",
|
|
]
|
|
|
|
TEST_REQUIREMENTS = ["requests-mock", "pytest", "black", "lxml", "isort"]
|
|
|
|
setup(
|
|
version="0.0.0",
|
|
name="ci_code_validator",
|
|
description="Load and extract CI secrets for test suites",
|
|
author="Airbyte",
|
|
author_email="contact@airbyte.io",
|
|
packages=find_packages(),
|
|
install_requires=MAIN_REQUIREMENTS,
|
|
python_requires=">=3.9",
|
|
extras_require={
|
|
"tests": TEST_REQUIREMENTS,
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"ci_sonar_qube = ci_sonar_qube.main:main",
|
|
"ci_changes_detection = ci_changes_detection.main:main",
|
|
],
|
|
},
|
|
)
|