Skip to content

Panlint: Model lines as objects#220

Merged
ned21 merged 3 commits intoquattor:masterfrom
jrha:panlint_objects_line
Nov 13, 2019
Merged

Panlint: Model lines as objects#220
ned21 merged 3 commits intoquattor:masterfrom
jrha:panlint_objects_line

Conversation

@jrha
Copy link
Member

@jrha jrha commented Nov 30, 2018

Modelling lines (and eventually other parts of the checks) as objects makes it much simpler to keep related information together as it moves around and opens up the possibility for decoupling the analysis and presentation layers.

This is part one of five major re-factoring steps that were undertaken at RAL, it has taken some time to clean-up the changes into something that can be reviewed in a sane way.

Requires #219.

@jrha jrha force-pushed the panlint_objects_line branch from 17416dd to e44bcd1 Compare November 30, 2018 10:38
jrha added 3 commits November 30, 2018 10:56
Check that they have uppercase names longer than five characters
Add unit tests for checks.
- Update tests to use Line objects
- Use new style class for Line
@jrha jrha force-pushed the panlint_objects_line branch from e44bcd1 to 5f1c861 Compare November 30, 2018 10:57
ned21
ned21 previously requested changes Dec 9, 2018
@ned21 ned21 dismissed their stale review December 11, 2018 20:18

OK I guess the API should match the usual use, not the unit tests.

@ned21 ned21 merged commit 4b1f162 into quattor:master Nov 13, 2019
@jrha jrha deleted the panlint_objects_line branch November 15, 2019 14:01
@jrha jrha added this to the 10.8 milestone Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants