TypeError: diff_cover_report_quality() got an unexpected keyword argument 'reports'
See original GitHub issueJust started getting errors on CircleCI within the past few days. We’re using diff-quality to run a linter on only the sql files that changed in the pull request with diff-quality --violations sqlfluff --fail-under=100 --compare-branch origin/master
and getting the following error:
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.8.15/bin/diff-quality", line 8, in <module>
sys.exit(main())
File "/home/circleci/.pyenv/versions/3.8.15/lib/python3.8/site-packages/diff_cover/diff_quality_tool.py", line 347, in main
reporter = reporter_factory_fn(reports=input_reports, options=user_options)
TypeError: diff_cover_report_quality() got an unexpected keyword argument 'reports'
Looks to be related to this recently merged PR that changed the offending line. Let me know what other info might be helpful to troubleshoot.
Issue Analytics
- State:
- Created 9 months ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
TypeError: got an unexpected keyword argument
You get an exception because UserDefinedFunction.__call__ supports only varargs and not keyword args. def __call__(self, ...
Read more >TypeError: login() got an unexpected keyword argument 'msi ...
I'm new to bug reporting btw, Sorry for the inconveniences! Command Name az login Extension Name: azure-ml-admin-cli. Version: 0.0.1. Errors:.
Read more >TypeError: copy() got an unexpected keyword argument 'deep'
currently we have 2 prediction model and we setup the prediction model in the next recipe # setup efficiency function efficiency = lambda...
Read more >Error "get_file_data() got an unexpected keyword argument ...
I have configured one input using the File-Meta Data input to monitor a log file. ... TypeError: get_file_data() got an unexpected keyword argument...
Read more >save_file() got an unexpected keyword argument 'save'
TypeError : save_file() got an unexpected keyword argument 'save'. This happens when I try to save a new record to a table using...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Bachmann1234: This issue can be closed now. Sorry for the kerfuffle!
I would suggest rolling diff_cover
7.2.0
until we can get this resolved.@barrywhart are you available to look into this?