-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Roadmap #1
Comments
First public release is ready! Now, we need to concentrate on:
|
@sobolevn |
@brunowego absolutely! Can you please open a new issue for that? |
@Levivb not really, since I am quite busy on other projects. But, if you want to contribute, I will highly appreciate that! |
To continue with the new features we first need to setup proper testing for this project: #13 and #12 @kaelscion welcome on board! You are now a collaborator of this project. 🎉 |
Nice project! Is auto-fixing errors within the scope of this project? This would then match the behavior of other pre-commit hook implementations (like black, isort etc.) |
I would love to have this merged, but implementing this feature is not on my schedule :) |
Purpose
The main idea of this project is to lint
.env
files like this one: https://github.com/wemake-services/wemake-django-template/blob/master/%7B%7Bcookiecutter.project_name%7D%7D/config/.env.templateArchitecture
This should be an installable python package. We usually use
poetry
for that. Here's an example: https://github.com/wemake-services/wemake-python-styleguide/blob/master/pyproject.tomlHow does the linting process work?
We specify grammar that will be used for parsing
.env
files. I guess we will useply
for that. Here's an example of how we can create a simple grammar: https://github.com/ivelum/djangoql/blob/master/djangoql/ast.pyWe read files that are specified by user
1.1 I will have an extra look about how LSP protocol works, so this plugin can latter be easily integrated with
vscode
/sublime
/ etcThan we parse these files with our grammar, we get list of tokens / ast nodes as a result
Than we perform checks on these tokens / nodes, like we do in https://github.com/wemake-services/wemake-python-styleguide/blob/master/wemake_python_styleguide/visitors/base.py
Technical decisions
I suggest to target
python3.6
andpython3.7
. Or two latest versions ofpython
in the future.I suggest to use https://github.com/wemake-services/wemake-python-styleguide and
mypy
for lintingI suggest to use
pytest
for testsI suggest to use
sphinx
for docsTeam
Currently we have:
Anyone is welcome!
The text was updated successfully, but these errors were encountered: