From ca0837a9798d0bf6f3c93dcc003aa38f86eddd5c Mon Sep 17 00:00:00 2001 From: Bu Sun Kim Date: Fri, 2 Oct 2020 22:19:57 +0000 Subject: [PATCH] docs: don't treat warnings as errors --- synth.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/synth.py b/synth.py index 591ef35..3a93c9e 100644 --- a/synth.py +++ b/synth.py @@ -46,4 +46,10 @@ s.move( templated_files, excludes=[".coveragerc"] ) # the microgenerator has a good coveragerc file +# Ignore warnings +s.replace( + "noxfile.py", + """["']-W["'], # warnings as errors""", + "" +) s.shell.run(["nox", "-s", "blacken"], hide_output=False) \ No newline at end of file