Added
- configuration for our introductory Computing course TM112
- feature: skip lines ending with ` allowed`
Changed
- reporting of disallowed constructs, to be clearer
- M269 configuration: allow augmented assignments
Fixed
- check of import configuration: display units affected
- crash on Unicode error: report and skip file
- M269 configuration: disallow string/tuple methods
- double reporting of try-except: report only first line (with `try`)
Development
- use `poetry` and `pyproject.toml` to ease future PyPI publishing
- improve `sample.py` test file: cover more constructs
[1.1.0](https://github.com/dsa-ou/allowed/compare/22J-final...v1.1.0) - 2023-10-19
Changed
- M269 configuration: update for 2023/24 academic year
- documentation theme: reduce size of banner; page title is always project name
[22J final](https://github.com/dsa-ou/allowed/compare/22J-initial...22J-final) - 2023-08-29
Added
- option `-m` to check method calls
- option `-c` to indicate which configuration to use
- process notebooks directly, without needing `nbqa`
- GitHub Pages site with documentation
Development
- add regression tests
[22J initial](https://github.com/dsa-ou/allowed/releases/tag/22J-initial) - 2023-02-13
This is the initial version, given to the 2022/23 students of M269.
It provides the core functionality:
- check one or more Python files, or all Python files in a subtree
- check against the M269 configuration (included in `allowed.py`)
- check method calls if `pytype` is installed
- check against a unit, given with `-u` or extracted from the file name
- check notebooks, using [`nbqa`](https://nbqa.readthedocs.io/en/latest/readme.html)