1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 16:27:13 +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 9382ca334b
commit a9680ea8c0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 }}