Skip to content

0.10.2

Compare
Choose a tag to compare
@dargueta dargueta released this 09 May 00:07
· 108 commits to master since this release
3735392

Released 2021-05-08

New Features

The documentation is now available online!

Bugfixes

  • Creating a dataclass with no fields now throws NoDefinedFieldsError. Unfortunately, because dataclass is a decorator that executes after the class is created, we can't do the same with normal assigned fields.
  • Fixed wrong docstring for NoDefinedFieldsError that said it was thrown when only assignments were used on a class marked with dataclass. It was supposed to be a MixedDeclarationsError.
  • Fixed formatting and broken links in docstrings.

Internal Changes

  • Upgraded test dependencies.
  • Added a few more flake8 plugins for stricter linting of things.
  • Set minimum test coverage to 95%.
  • Split out packages used for unit tests and linting into separate files, as we were installing a bunch of stuff for the unit tests that weren't needed.
  • Standardized order and placement of the "New in version X" and "Changed in version X" directives. They are now always at the bottom of the thing being documented, in chronological order.