Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/113/implement proper module registration #119

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
2ee9b28
feat[resourcesbot]: add `modules` as a CLI parameter
GabrielSousa02 Oct 31, 2024
209e086
chore[resourcesbot]: reformat the `parse_arguments` function
GabrielSousa02 Oct 31, 2024
29a3694
chore[resourcesbot]: reformat the `set_loglevel` function
GabrielSousa02 Oct 31, 2024
3a2066b
refactor[resourcesbot]: add `modules` directory
GabrielSousa02 Oct 31, 2024
f5cde11
refactor[resourcesbot]: refactor config parameters validation
GabrielSousa02 Nov 3, 2024
7b27d27
chore[resourcesbot]: reorganize imports
GabrielSousa02 Nov 11, 2024
940215c
chore[resourcesbot]: format docstrings and constructor
GabrielSousa02 Nov 11, 2024
34d65cb
refactor[resourcesbot]: change the way post-processors work
GabrielSousa02 Nov 11, 2024
2026b83
chore[resourcesbot]: format functions according to PEP8
GabrielSousa02 Nov 11, 2024
24e6bb8
refactor[resourcesbot]: finalize the arg_parser for modules
GabrielSousa02 Nov 11, 2024
49f1ab7
refactor[resourcesbot]: add typing to `modules` in constructor
GabrielSousa02 Nov 13, 2024
ffe840b
test[resourcesbot]: add modules to tests
GabrielSousa02 Nov 13, 2024
a71d750
refactor[resourcesbot]: update `modules` path in `consistency_checks`
GabrielSousa02 Nov 13, 2024
ec29f07
refactor[resourcesbot]: update `modules` path in `export_html`
GabrielSousa02 Nov 13, 2024
46d0567
refactor[resourcesbot]: update `modules` path in `export_pdf`
GabrielSousa02 Nov 13, 2024
0e2d8b1
refactor[resourcesbot]: update `modules` path in `export_repository`
GabrielSousa02 Nov 13, 2024
7bac38f
refactor[resourcesbot]: update `modules` path in `write_lists`
GabrielSousa02 Nov 13, 2024
0fdc351
refactor[resourcesbot]: update `modules` path in `write_report`
GabrielSousa02 Nov 13, 2024
72eefa0
refactor[resourcesbot]: update `modules` path in `write_sidebar_messa…
GabrielSousa02 Nov 13, 2024
ebe59f3
refactor[resourcesbot]: update `modules` path in `write_summary`
GabrielSousa02 Nov 13, 2024
4d862ad
test[resourcesbot]: update `modules` path in test suite
GabrielSousa02 Nov 13, 2024
3279d49
chore[resourcesbot]: reformat using `black`
GabrielSousa02 Nov 14, 2024
efe4674
chore[resourcesbot]: reformat using `black`
GabrielSousa02 Nov 14, 2024
0584179
refactor[resourcesbot]: update `Resourcesbot` constructor to have def…
GabrielSousa02 Nov 14, 2024
03484d4
chore[resourcesbot]: reformat file with `black`
GabrielSousa02 Nov 14, 2024
1693999
refactor[resourcesbot]: revert refactoring for configuration parameters
GabrielSousa02 Nov 14, 2024
14be7ac
chore[resourcesbot]: reformat file with `black`
GabrielSousa02 Nov 14, 2024
fc015f0
chore[resourcesbot/modules]: reformat `consistency_checks` with `black`
GabrielSousa02 Nov 14, 2024
1d853b8
chore[resourcesbot/modules]: reformat `write_lists` with `black`
GabrielSousa02 Nov 14, 2024
abe8554
refactor[resourcesbot/write_lists]: refactor class constructor
GabrielSousa02 Nov 14, 2024
16125e9
test[resourcesbot/write_lists]: update tests to match new constructor
GabrielSousa02 Nov 14, 2024
8616bf5
chore[resourcesbot/test]: reformat `test_write_lists` with `black`
GabrielSousa02 Nov 14, 2024
cb2f07d
refactor[resourcesbot]: create constructor for `LanguagePostProcessor`
GabrielSousa02 Nov 14, 2024
befc9b0
chore[resourcesbot]: reformat `post_processing` with `black`
GabrielSousa02 Nov 14, 2024
1bb8803
refactor[resourcesbot]: update `ConsistencyCheck` constructor to matc…
GabrielSousa02 Nov 14, 2024
5cf8073
refactor[resourcesbot]: update `WriteList` constructor to match paren…
GabrielSousa02 Nov 14, 2024
a77825f
refactor[resourcesbot]: update `WriteReport` constructor to match par…
GabrielSousa02 Nov 14, 2024
654892d
chore[resourcesbot]: reformat `write_report` with `black`
GabrielSousa02 Nov 14, 2024
b2e89b3
test[resourcesbot/write_report]: update tests to match new constructor
GabrielSousa02 Nov 14, 2024
f22fa34
refactor[resourcesbot]: update `WriteSidebarMessages` constructor to …
GabrielSousa02 Nov 15, 2024
3944b7d
test[resourcesbot/write_sidebar]: update tests to match new constructor
GabrielSousa02 Nov 15, 2024
e06d3cf
chore[resourcesbot]: reformat `test_write_sidebar_messages` with `black`
GabrielSousa02 Nov 15, 2024
f97fb56
chore[resourcesbot]: reformat `write_sidebar_messages` with `black`
GabrielSousa02 Nov 15, 2024
e8d1fe2
refactor[resourcesbot]: update the ABC `run` method return statement …
GabrielSousa02 Nov 15, 2024
6b48ef4
refactor[resourcesbot]: update `export_html` constructor to match par…
GabrielSousa02 Nov 15, 2024
15af4f9
chore[resourcesbot]: reformat `export_html` with `black`
GabrielSousa02 Nov 15, 2024
a448b6e
refactor[resourcesbot]: update `export_pdf` constructor to match pare…
GabrielSousa02 Nov 15, 2024
d52100b
chore[resourcesbot]: reformat `export_pdf` with `black`
GabrielSousa02 Nov 15, 2024
c164e35
refactor[resourcesbot]: update `export_repository` constructor to mat…
GabrielSousa02 Nov 18, 2024
ac2864e
chore[resourcesbot]: reformat `export_repository` with `black`
GabrielSousa02 Nov 18, 2024
065c3ea
refactor: change constructors to remove `force_rewrite`
GabrielSousa02 Nov 20, 2024
f388b39
refactor: correct linting errors from `flak8`
GabrielSousa02 Nov 20, 2024
f8c0ccb
Finish refactoring
holybiber Nov 21, 2024
3299054
Finally Finish Refactoring ;)
Nov 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
436 changes: 301 additions & 135 deletions pywikitools/resourcesbot/bot.py
100644 → 100755

Large diffs are not rendered by default.

177 changes: 0 additions & 177 deletions pywikitools/resourcesbot/consistency_checks.py

This file was deleted.

Empty file.
Loading
Loading