Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{CI} azdev style: Use azdev config files when .flake8 and pylintrc are not found in azure cli/ext repo. #442

Merged
merged 5 commits into from
Apr 3, 2024

Conversation

wangzelin007
Copy link
Member

@wangzelin007 wangzelin007 commented Apr 2, 2024

image
According to the error messageThe config file /__w/1/s/pylintrc doesn't exist!
azdev can find the cli/ext repo(__w/1/s), but cannot find the pylintrc file in the repo.
We must know that pylintrc existed as early as 2016:
https://github.com/Azure/azure-cli/blob/dev/pylintrc
https://github.com/Azure/azure-cli-extensions/blob/main/pylintrc
Could it be that the code in the repo in these users' CI is very old, or user have manually deleted pylintrc, or user have checked out a branch that does not have pylintrc?
I can't understand why this happens.
The cli and extension repo have been found, but the pylintrc file is not found.
@irvokopo @hvedati
I'd be very grateful if you could provide some information.

@hvedati
Copy link

hvedati commented Apr 2, 2024

@wangzelin007 this is how we are checking out the repo - git clone --single-branch -b dev https://github.com/Azure/azure-cli.git ../azure-cli

@wangzelin007 wangzelin007 linked an issue Apr 3, 2024 that may be closed by this pull request
@wangzelin007 wangzelin007 merged commit 9767acb into Azure:dev Apr 3, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azdev does not properly install / copy pylintrc config file.
4 participants