[ENHANCEMENT] Rewrite #46

Open
opened 2023-02-03 12:59:44 +00:00 by ElBe-Plaq · 5 comments
ElBe-Plaq commented 2023-02-03 12:59:44 +00:00 (Migrated from github.com)

Refactor your code to be readable and usable.

Links
YouTube Videos about this: https://www.youtube.com/watch?v=-J3wNP6u5YU, https://www.youtube.com/watch?v=qUeud6DvOWI and more
Websites: https://peps.python.org, https://google.github.io/styleguide/pyguide.html and more

Todos

  • #68
  • Use f strings
  • Refactor functions.py (utils folder)
  • Refactor config.json
  • Refactor other code
  • #69
  • Assign types to variables
  • Assign errors to except
  • Change base error class to subclass of BaseException or Exception
  • Clean up GitHub
  • Remove unnecessary requirements (Note: pipreqs shows that adrest is required, even if it's not)
  • Do pylint stuff, because I hate my life
  • Mardown to reStructuredText
  • More docs
  • Sphnix docs
  • Examples
  • Database
  • Do list comprehensions
  • Change version name to v1.0.0 as it will be a mayor change.
  • #67
  • More comments
  • Use less custom and more builtin errors
  • Add codecov
  • Add codecov requirements
  • Setup git correctly
  • Use pathlib for paths

More coming as an edit

Refactor your code to be readable and usable. **Links** YouTube Videos about this: https://www.youtube.com/watch?v=-J3wNP6u5YU, https://www.youtube.com/watch?v=qUeud6DvOWI and more Websites: https://peps.python.org, https://google.github.io/styleguide/pyguide.html and more **Todos** - [ ] #68 - [ ] Use f strings - [x] Refactor `functions.py` (`utils` folder) - [ ] Refactor `config.json` - [ ] Refactor other code - [ ] #69 - [ ] Assign types to variables - [ ] Assign errors to `except` - [x] Change base error class to subclass of `BaseException` or `Exception` - [ ] Clean up GitHub - [x] Remove unnecessary requirements (Note: `pipreqs` shows that `adrest` is required, even if it's not) - [ ] Do pylint stuff, because I hate my life - [ ] Mardown to reStructuredText - [ ] More docs - [ ] Sphnix docs - [ ] Examples - [ ] Database - [ ] Do list comprehensions - [x] Change version name to `v1.0.0` as it will be a mayor change. - [ ] #67 - [ ] More comments - [ ] Use less custom and more builtin errors - [x] Add codecov - [ ] Add codecov requirements - [ ] Setup git correctly - [ ] Use pathlib for paths More coming as an edit
ElBe-Plaq commented 2023-02-03 13:01:03 +00:00 (Migrated from github.com)

Why am I doing this?

Why am I doing this?
ElBe-Plaq commented 2023-02-07 15:35:44 +00:00 (Migrated from github.com)

Basically it's a rewrite

Basically it's a rewrite
ElBe-Plaq commented 2023-02-12 13:02:29 +00:00 (Migrated from github.com)

Maybe I'll use rich later on too.

Maybe I'll use `rich` later on too.
ElBe-Plaq commented 2023-06-27 18:12:20 +00:00 (Migrated from github.com)

I'll work on this again.

I'll work on this again.
ElBe-Plaq commented 2023-07-01 19:14:24 +00:00 (Migrated from github.com)

I'll completley rewrite the entire cog system.

I'll completley rewrite the entire cog system.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ElBe-Development/discord.py-bot-template#46
No description provided.