chore: update linting & style facility#387
Conversation
| @@ -0,0 +1,55 @@ | |||
| repos: | |||
There was a problem hiding this comment.
| wemake-python-styleguide = ">=0.18,<0.20" | ||
| flake8-pytest-style = ">=1.5,<3.0" | ||
| nitpick = "^0.35" | ||
| wemake-python-styleguide = "^1.1" |
There was a problem hiding this comment.
copied verbatim from https://github.com/wemake-services/dotenv-linter/blob/master/pyproject.toml
…dump-env into joscha/use-pre-commit-and-others
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #387 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 83 85 +2
Branches 18 15 -3
=========================================
+ Hits 83 85 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@sobolevn PTAL |
| # Only prefix should be changed, other parts should not: | ||
| assert dump_result['DJANGO_SECRET_KEY'] == 'test' | ||
| assert dump_result['SECRET_VALUE'] == 'value' | ||
| assert dump_result['DJANGO_SECRET_KEY'] == 'test' # noqa: S105 |
There was a problem hiding this comment.
after #385 we could use syrupy for dump_result and then also get rid of the S105 directive overrides
sobolevn
left a comment
There was a problem hiding this comment.
Thank you so much! Several minor comments :)
|
Testing |
…dump-env into joscha/use-pre-commit-and-others
|
seems to be all good \o/ |
| ignore-path = docs/_build | ||
| max-line-length = 80 | ||
| sphinx = true | ||
| [codespell] |
There was a problem hiding this comment.
I think that we can remove it as well in later PRs.
| # Only prefix should be changed, other parts should not: | ||
| assert dump_result['DJANGO_SECRET_KEY'] == 'test' | ||
| assert dump_result['SECRET_VALUE'] == 'value' | ||
| assert dump_result['DJANGO_SECRET_KEY'] == 'test' # noqa: S105 |
blocks #385