We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thank you for creating a great plugin.
Describe the bug JinjaAutoInspectFixer and MakoFilter don't work correctly in this case.
JinjaAutoInspectFixer
MakoFilter
To Reproduce I fixed Environment and Template in this code with fixers Before:
Environment
Template
from mako.template import Template from jinja2 import Environment, PackageLoader Environment(loader=PackageLoader(package_path='yourapplication',package_name='templates')) Template(str(value='abc'))
After:
from mako.template import Template from jinja2 import Environment, PackageLoader Environment(loader=PackageLoader(package_path='yourapplication', package_name='templates', autoescape=True)) Template(str(value='abc', default_filters=['h']))
If an argument has keyword arguments then, Fixers insert an argument to nested argument. the arguments have to be a top-level arguments
Screenshots
Additional context
The text was updated successfully, but these errors were encountered:
Fix works really well, thanks for the detailed report
Sorry, something went wrong.
No branches or pull requests
Thank you for creating a great plugin.
Describe the bug
JinjaAutoInspectFixer
andMakoFilter
don't work correctly in this case.To Reproduce
I fixed
Environment
andTemplate
in this code with fixersBefore:
After:
If an argument has keyword arguments then, Fixers insert an argument to nested argument.
the arguments have to be a top-level arguments
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: