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

feat: add file config options #137

Merged
merged 6 commits into from
Dec 17, 2022
Merged

Conversation

weibullguy
Copy link
Member

@weibullguy weibullguy commented Dec 17, 2022

Adds new options that can be set in the config files. These include --check, --diff, --in-place, and --exclude. Also has docformatter exit with non-zero even when --in-place changes files.

Closes #120, #121, #122

@weibullguy weibullguy added P: enhancement Feature that is outside the scope of PEP 257 C: stakeholder Relates to docformatter stakeholder requested behavior labels Dec 17, 2022
@coveralls
Copy link

coveralls commented Dec 17, 2022

Pull Request Test Coverage Report for Build 3722026687

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Totals Coverage Status
Change from base Build 3716107470: 0.0%
Covered Lines: 0
Relevant Lines: 0

💛 - Coveralls

@weibullguy weibullguy merged commit f7d50ae into master Dec 17, 2022
@weibullguy weibullguy deleted the feat/add_file_config_options branch December 17, 2022 22:27
@weibullguy weibullguy added the S: merged Closed with work merged to repository label Dec 29, 2022
BenjaminSchubert added a commit to BenjaminSchubert/dwas that referenced this pull request Dec 29, 2023
PyCQA/docformatter#137 changed how
docformatter behaves to return 3 when files were modified, so we need to
be able to tell that this is an allowed return code in some cases.
BenjaminSchubert added a commit to BenjaminSchubert/dwas that referenced this pull request Dec 29, 2023
PyCQA/docformatter#137 changed how
docformatter behaves to return 3 when files were modified, so we need to
be able to tell that this is an allowed return code in some cases.
BenjaminSchubert added a commit to BenjaminSchubert/dwas that referenced this pull request Dec 29, 2023
PyCQA/docformatter#137 changed how
docformatter behaves to return 3 when files were modified, so we need to
be able to tell that this is an allowed return code in some cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: stakeholder Relates to docformatter stakeholder requested behavior P: enhancement Feature that is outside the scope of PEP 257 S: merged Closed with work merged to repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuring exclude via configuration file
2 participants