1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 11:27:38 +03:00

Don't force --show-source in .flake8 !

This was the cause of our flake8-your-pr issue!  It meant that as well
as `--format json` giving JSON output it also got polluted with the raw
string of the source line as well.
This commit is contained in:
Athanasius 2020-07-26 22:34:15 +01:00
parent d65176aed8
commit 6513db3aca
2 changed files with 2 additions and 2 deletions

@ -1,6 +1,6 @@
[flake8]
# Show exactly where in a line the error happened
show-source = True
#show-source = True
max-line-length = 120
# Add _ as a builtin for localisation stuff

@ -24,6 +24,6 @@ jobs:
with:
python-version: 3.7
- name: Annotate with Flake8
uses: "Athanasius/flake8-your-pr@master"
uses: "tayfun/flake8-your-pr@master"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}