fix _get_excluded_field_names ignore read

6 jobs for patch-1 in 56 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Style
failed #657604682
black

00:00:52

passed #657604680
flake8

00:00:56

failed #657604683
mypy

00:00:54

 
  Test
skipped #657604687
tests-3.6
skipped #657604691
tests-3.7
skipped #657604697
tests-3.8
 
Name Stage Failure
failed
mypy Style
  Created wheel for py-cpuinfo: filename=py_cpuinfo-7.0.0-py3-none-any.whl size=20068 sha256=74433a2894ad56fda982c4c385a3379420079170c0afad3c678982741036bf84
Stored in directory: /root/.cache/pip/wheels/d7/59/0d/58c5e576d9192261fa3da00466eebe6f7a1ac1873a7ab1f2ce
Successfully built dataslots py-cpuinfo
Installing collected packages: toml, click, appdirs, attrs, black, Cython, dataslots, mccabe, pycodestyle, pyflakes, entrypoints, flake8, isort, typing-extensions, mypy-extensions, typed-ast, mypy, atomicwrites, wcwidth, six, pyparsing, packaging, zipp, importlib-metadata, pluggy, more-itertools, py, pytest, py-cpuinfo, pytest-benchmark
Successfully installed Cython-0.29.13 appdirs-1.4.4 atomicwrites-1.4.0 attrs-19.3.0 black-19.3b0 click-7.1.2 dataslots-1.0.1 entrypoints-0.3 flake8-3.7.8 importlib-metadata-1.7.0 isort-4.3.21 mccabe-0.6.1 more-itertools-8.4.0 mypy-0.730 mypy-extensions-0.4.3 packaging-20.4 pluggy-0.13.1 py-1.9.0 py-cpuinfo-7.0.0 pycodestyle-2.5.0 pyflakes-2.1.1 pyparsing-2.4.7 pytest-5.2.1 pytest-benchmark-3.2.2 six-1.15.0 toml-0.10.1 typed-ast-1.4.1 typing-extensions-3.7.4.2 wcwidth-0.2.5 zipp-3.1.0
$ mypy --strict serpyco
serpyco/schema.py:476: error: Item "None" of "Optional[Any]" has no attribute "ignore"
Found 1 error in 1 file (checked 10 source files)
ERROR: Job failed: exit code 1
failed
black Style
  Stored in directory: /root/.cache/pip/wheels/d7/59/0d/58c5e576d9192261fa3da00466eebe6f7a1ac1873a7ab1f2ce
Successfully built dataslots py-cpuinfo
Installing collected packages: toml, click, appdirs, attrs, black, Cython, dataslots, pyflakes, pycodestyle, entrypoints, mccabe, flake8, isort, typed-ast, typing-extensions, mypy-extensions, mypy, six, pyparsing, packaging, atomicwrites, more-itertools, wcwidth, zipp, importlib-metadata, py, pluggy, pytest, py-cpuinfo, pytest-benchmark
Successfully installed Cython-0.29.13 appdirs-1.4.4 atomicwrites-1.4.0 attrs-19.3.0 black-19.3b0 click-7.1.2 dataslots-1.0.1 entrypoints-0.3 flake8-3.7.8 importlib-metadata-1.7.0 isort-4.3.21 mccabe-0.6.1 more-itertools-8.4.0 mypy-0.730 mypy-extensions-0.4.3 packaging-20.4 pluggy-0.13.1 py-1.9.0 py-cpuinfo-7.0.0 pycodestyle-2.5.0 pyflakes-2.1.1 pyparsing-2.4.7 pytest-5.2.1 pytest-benchmark-3.2.2 six-1.15.0 toml-0.10.1 typed-ast-1.4.1 typing-extensions-3.7.4.2 wcwidth-0.2.5 zipp-3.1.0
$ black --check .
would reformat /builds/sevajol-bastien/serpyco/serpyco/schema.py
All done! 💥 💔 💥
1 file would be reformatted, 20 files would be left unchanged.
ERROR: Job failed: exit code 1