Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.63k stars 2.84k forks source link

Add .git-blame-ignore-revs for better git-blame #38642

Open atombrella opened 9 hours ago

atombrella commented 9 hours ago

Description

It's the result of this PR that looks (mostly?) generated by black https://github.com/Azure/azure-sdk-for-python/pull/38278

To ignore certain commits that were created with automated tools, such as black, the commit hashes can be listed in this file https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view

Without using this file, you'll quickly get a useless git-blame. I have highlighted it in https://github.com/Azure/azure-sdk-for-python/pull/38583#issuecomment-2483641381

Probably you need to tweak the pipeline files to only trigger on changes to code directories/files.

github-actions[bot] commented 9 hours ago

Thank you for your contribution @atombrella! We will review the pull request and get back to you soon.