chore: flake8 mypy linting
Signed-off-by: heitorlessa <lessa@amazon.co.uk>
This commit is contained in:
@@ -325,11 +325,12 @@ def detect_setup_pyproject_existence(package_dir: str) -> bool:
|
|||||||
exists = False
|
exists = False
|
||||||
if os.path.exists(os.path.join(package_dir, 'setup.py')):
|
if os.path.exists(os.path.join(package_dir, 'setup.py')):
|
||||||
exists = True
|
exists = True
|
||||||
|
|
||||||
if os.path.exists(os.path.join(package_dir, 'pyproject.toml')):
|
if os.path.exists(os.path.join(package_dir, 'pyproject.toml')):
|
||||||
exists = True
|
exists = True
|
||||||
|
|
||||||
return exists
|
return exists
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user