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

support ignore config in pyproject.toml #937

Merged
merged 4 commits into from
Jul 13, 2021

Conversation

hirosassa
Copy link
Contributor

@hirosassa hirosassa commented Jul 10, 2021

This PR is for #904.

I implemented excluding file configuration by using pyproject.tom file.
You can write excluding pattern as follows:

[tool.yapfignore]
ignore_patterns="""
temp/**/*.py
temp2/*.py
"""

@google-cla google-cla bot added the cla: yes label Jul 10, 2021
@coveralls
Copy link

coveralls commented Jul 10, 2021

Coverage Status

Coverage increased (+0.06%) to 94.405% when pulling 83de3c1 on hirosassa:pyproject-ignore into 6d961fb on google:main.

@bwendling
Copy link
Member

Please document this in the CHANGELOG file.

@hirosassa
Copy link
Contributor Author

@gwelymernans Thank you for your comment. Documented this change.

@bwendling bwendling merged commit f16340e into google:main Jul 13, 2021
@hirosassa hirosassa deleted the pyproject-ignore branch July 13, 2021 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants