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(yaml): autofix YAML files #431

Merged
merged 11 commits into from
Dec 31, 2021
Merged

feat(yaml): autofix YAML files #431

merged 11 commits into from
Dec 31, 2021

Conversation

andreoliwa
Copy link
Owner

@andreoliwa andreoliwa commented Dec 31, 2021

Proposed changes

Checklist

  • Read the contribution guidelines
  • Run make locally before pushing commits
  • Add tests for the relevant parts:
    • API
    • CLI
    • flake8 plugin (normal mode)
    • flake8 plugin (offline mode)
  • Write documentation when there's a new API or functionality

@andreoliwa andreoliwa self-assigned this Dec 31, 2021
@andreoliwa andreoliwa added the enhancement New feature or request label Dec 31, 2021
@coveralls
Copy link

coveralls commented Dec 31, 2021

Pull Request Test Coverage Report for Build 1639932328

  • 111 of 114 (97.37%) changed or added relevant lines in 7 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.09%) to 96.231%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/nitpick/plugins/yaml.py 68 71 95.77%
Totals Coverage Status
Change from base Build 1639053737: -0.09%
Covered Lines: 2030
Relevant Lines: 2083

💛 - Coveralls

@andreoliwa andreoliwa marked this pull request as ready for review December 31, 2021 06:15
@andreoliwa andreoliwa merged commit d8cc4b1 into develop Dec 31, 2021
@andreoliwa andreoliwa deleted the autofix-yaml-files branch December 31, 2021 06:34
github-actions bot pushed a commit that referenced this pull request Jan 14, 2022
# [0.30.0](v0.29.0...v0.30.0) (2022-01-14)

### Bug Fixes

* style override on Windows ([#422](#422)) ([e7d2897](e7d2897))
* use current dir; don't climb dirs to find the project root ([#421](#421)) ([3c82e8c](3c82e8c))

### Features

* default pre-commit hook now runs "nitpick fix" ([cb4c242](cb4c242))
* **json:** autofix JSON files ([#429](#429)) ([4b58a03](4b58a03))
* nitpick init adds a [tool.nitpick] section ([36f4065](36f4065))
* **yaml:** autofix .pre-commit-config.yaml (note: style changed!) ([#434](#434)) ([352b53d](352b53d))
* **yaml:** autofix GitHub Workflow files ([#437](#437)) ([6af77c4](6af77c4))
* **yaml:** autofix YAML files ([#431](#431)) ([d8cc4b1](d8cc4b1))
@github-actions
Copy link

🎉 This PR is included in version 0.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Feature/fix is released label Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released Feature/fix is released
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants