diff options
| author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2019-11-10 21:09:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-10 21:09:18 +0200 |
| commit | b539e9669719d2a9d10a9cef614ffaf67f723086 (patch) | |
| tree | fe3d2597f821ddc8adac5347d040506df1cefea3 /src/tablib/formats | |
| parent | 626a06274750669b12f794c6800c1abcfd48a0a6 (diff) | |
| download | tablib-b539e9669719d2a9d10a9cef614ffaf67f723086.tar.gz | |
Update testing: add docs + lint jobs; use pre-commit for linting (#426)
* Move docs and lint to their own [3.8] build job for more parallelism
* No codecov for docs or lint
* Move isort into pre-commit
* Add some handy linters to pre-commit
* Add rst-backticks linter and fix the errors
* Add pyupgrade and add upgrades
* Test docs and lint on GitHub Actions
* Xenial is default
Diffstat (limited to 'src/tablib/formats')
| -rw-r--r-- | src/tablib/formats/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tablib/formats/__init__.py b/src/tablib/formats/__init__.py index c324484..9398607 100644 --- a/src/tablib/formats/__init__.py +++ b/src/tablib/formats/__init__.py @@ -103,8 +103,7 @@ class Registry: self.register('rst', ReSTFormat()) def formats(self): - for frm in self._formats.values(): - yield frm + yield from self._formats.values() def get_format(self, key): if key not in self._formats: |
