Skip to content

Commit

Permalink
ResourcesBot: Refactor modules
Browse files Browse the repository at this point in the history
Major ResourcesBot refactoring: have all modules in their own subfolder, standardize also the constructors so we have a standard interface for them (extend abstract class LanguagePostProcessor).
Implement dynamic loading. Directly extract information for the command line options from the module classes themselves.
Code is now significantly more beautiful :)

Co-authored-by: holybiber <[email protected]>
Co-authored-by: Josua Kowalzik <joshkowi@DESKTOP-F6B74EG>
  • Loading branch information
3 people authored Nov 22, 2024
1 parent 6429b68 commit 3892adc
Show file tree
Hide file tree
Showing 22 changed files with 2,056 additions and 1,092 deletions.
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

0 comments on commit 3892adc

Please sign in to comment.