2023-12-01 04:52:07 +00:00
|
|
|
repos:
|
2024-07-13 19:21:16 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.6.0
|
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-json
|
|
|
|
- id: check-toml
|
|
|
|
|
feat(neofetch.py): add new neofetch command to display system and server stats
chore(.pre-commit-config.yaml): add new pre-commit hooks for trailing commas and gitleaks
refactor(cog_loader.py): improve error logging for cog loading failures
style(.pre-commit-config.yaml, cog_loader.py): apply code formatting rules
style(dev.py, eval.py, git.py, mail.py, random.py): improve code readability by breaking down long lines of code into multiple lines
refactor(eval.py): add trailing comma to logger.warning for better code formatting
refactor(git.py): simplify import statement for Issue from githubkit.versions.latest.models
refactor(mail.py): add line breaks for better readability and code consistency
refactor(random.py): add line breaks in function parameters and conditions for better readability
style(xkcd.py, config.py, export.py): refactor function arguments to multi-line for better readability
style: reformat code for better readability in audit.py, commands.py, gate.py, member.py, run.py, temp_vc.py, tty_roles.py, purge.py
refactor: improve code readability by breaking down complex expressions and function calls into multiple lines
style: reformat code for better readability and PEP8 compliance in multiple files
refactor: simplify list declaration in guide.py for better readability
refactor: improve function parameter formatting in multiple files for better readability
refactor: improve string formatting in multiple files for better readability
refactor: improve function declaration formatting in multiple files for better readability
refactor: improve embed creation in rolecount.py for better readability
style(snippets.py, tldr.py, tools.py, wiki.py): reformat code for better readability
refactor(tools.py): simplify dictionary initialization for encodings and decodings
perf(tldr.py, tools.py): reduce subprocess.run arguments to improve performance
fix(wiki.py): correct the order of error handling and embed creation for better error management
refactor(case.py): improve readability by breaking down long function signatures into multiple lines
style(case.py): add trailing commas to improve code formatting and ease of future changes
style(case.py): improve readability by breaking down long function parameters into multiple lines
refactor(case.py): add trailing commas in dictionary to make future changes cleaner and more readable
style(guild_config.py): refactor function definitions to improve readability and adhere to PEP8 line length standards
style: apply PEP 8 style guide to improve readability and maintainability
refactor: add trailing commas to improve diff readability in future changes
fix(event_handler.py): add missing comma in message string to fix syntax error
style: apply black formatting to improve code readability and maintain consistency across the codebase
2024-07-02 03:41:57 +00:00
|
|
|
- repo: https://github.com/asottile/add-trailing-comma
|
|
|
|
rev: v3.1.0
|
|
|
|
hooks:
|
|
|
|
- id: add-trailing-comma
|
|
|
|
|
2024-04-15 20:21:48 +00:00
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
2024-07-22 16:32:33 +00:00
|
|
|
rev: v0.5.4
|
2023-12-01 04:52:07 +00:00
|
|
|
hooks:
|
2024-03-29 15:48:35 +00:00
|
|
|
# Run the linter.
|
2023-12-27 23:29:04 +00:00
|
|
|
- id: ruff
|
2024-03-29 15:48:35 +00:00
|
|
|
args: [--fix]
|
|
|
|
# Run the formatter.
|
2023-12-30 07:24:18 +00:00
|
|
|
- id: ruff-format
|
feat(neofetch.py): add new neofetch command to display system and server stats
chore(.pre-commit-config.yaml): add new pre-commit hooks for trailing commas and gitleaks
refactor(cog_loader.py): improve error logging for cog loading failures
style(.pre-commit-config.yaml, cog_loader.py): apply code formatting rules
style(dev.py, eval.py, git.py, mail.py, random.py): improve code readability by breaking down long lines of code into multiple lines
refactor(eval.py): add trailing comma to logger.warning for better code formatting
refactor(git.py): simplify import statement for Issue from githubkit.versions.latest.models
refactor(mail.py): add line breaks for better readability and code consistency
refactor(random.py): add line breaks in function parameters and conditions for better readability
style(xkcd.py, config.py, export.py): refactor function arguments to multi-line for better readability
style: reformat code for better readability in audit.py, commands.py, gate.py, member.py, run.py, temp_vc.py, tty_roles.py, purge.py
refactor: improve code readability by breaking down complex expressions and function calls into multiple lines
style: reformat code for better readability and PEP8 compliance in multiple files
refactor: simplify list declaration in guide.py for better readability
refactor: improve function parameter formatting in multiple files for better readability
refactor: improve string formatting in multiple files for better readability
refactor: improve function declaration formatting in multiple files for better readability
refactor: improve embed creation in rolecount.py for better readability
style(snippets.py, tldr.py, tools.py, wiki.py): reformat code for better readability
refactor(tools.py): simplify dictionary initialization for encodings and decodings
perf(tldr.py, tools.py): reduce subprocess.run arguments to improve performance
fix(wiki.py): correct the order of error handling and embed creation for better error management
refactor(case.py): improve readability by breaking down long function signatures into multiple lines
style(case.py): add trailing commas to improve code formatting and ease of future changes
style(case.py): improve readability by breaking down long function parameters into multiple lines
refactor(case.py): add trailing commas in dictionary to make future changes cleaner and more readable
style(guild_config.py): refactor function definitions to improve readability and adhere to PEP8 line length standards
style: apply PEP 8 style guide to improve readability and maintainability
refactor: add trailing commas to improve diff readability in future changes
fix(event_handler.py): add missing comma in message string to fix syntax error
style: apply black formatting to improve code readability and maintain consistency across the codebase
2024-07-02 03:41:57 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/gitleaks/gitleaks
|
2024-07-15 10:48:54 +00:00
|
|
|
rev: v8.18.4
|
feat(neofetch.py): add new neofetch command to display system and server stats
chore(.pre-commit-config.yaml): add new pre-commit hooks for trailing commas and gitleaks
refactor(cog_loader.py): improve error logging for cog loading failures
style(.pre-commit-config.yaml, cog_loader.py): apply code formatting rules
style(dev.py, eval.py, git.py, mail.py, random.py): improve code readability by breaking down long lines of code into multiple lines
refactor(eval.py): add trailing comma to logger.warning for better code formatting
refactor(git.py): simplify import statement for Issue from githubkit.versions.latest.models
refactor(mail.py): add line breaks for better readability and code consistency
refactor(random.py): add line breaks in function parameters and conditions for better readability
style(xkcd.py, config.py, export.py): refactor function arguments to multi-line for better readability
style: reformat code for better readability in audit.py, commands.py, gate.py, member.py, run.py, temp_vc.py, tty_roles.py, purge.py
refactor: improve code readability by breaking down complex expressions and function calls into multiple lines
style: reformat code for better readability and PEP8 compliance in multiple files
refactor: simplify list declaration in guide.py for better readability
refactor: improve function parameter formatting in multiple files for better readability
refactor: improve string formatting in multiple files for better readability
refactor: improve function declaration formatting in multiple files for better readability
refactor: improve embed creation in rolecount.py for better readability
style(snippets.py, tldr.py, tools.py, wiki.py): reformat code for better readability
refactor(tools.py): simplify dictionary initialization for encodings and decodings
perf(tldr.py, tools.py): reduce subprocess.run arguments to improve performance
fix(wiki.py): correct the order of error handling and embed creation for better error management
refactor(case.py): improve readability by breaking down long function signatures into multiple lines
style(case.py): add trailing commas to improve code formatting and ease of future changes
style(case.py): improve readability by breaking down long function parameters into multiple lines
refactor(case.py): add trailing commas in dictionary to make future changes cleaner and more readable
style(guild_config.py): refactor function definitions to improve readability and adhere to PEP8 line length standards
style: apply PEP 8 style guide to improve readability and maintainability
refactor: add trailing commas to improve diff readability in future changes
fix(event_handler.py): add missing comma in message string to fix syntax error
style: apply black formatting to improve code readability and maintain consistency across the codebase
2024-07-02 03:41:57 +00:00
|
|
|
hooks:
|
|
|
|
- id: gitleaks
|
|
|
|
exclude: ".archive/"
|