Skip to content

Commit

Permalink
Add MOAR debugging tools
Browse files Browse the repository at this point in the history
I understand that these are not everyone's preference,
but given the "stable" environment, tl;dr I cannot have them "always-active"
if I need to re-sanitize the environment

`pre-commit` does an amazing job, but that does not help on the IDE-feedback-loop

Hopefully they do not interfere with people's wish to contribute 🙏
Feel free to open an issue/discussion about this

Additionally: Unrelated fixups, improving the state

Signed-off-by: Stavros Ntentos <[email protected]>
  • Loading branch information
stdedos committed Jul 13, 2024
1 parent bb5090c commit 91941f9
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ report.exclude_lines = [
# Don't complain about abstract methods, they aren't run:
'@(abc\.)?abstractmethod',
'class .*\bProtocol\):',
## Defaults must be re-listed; we cannot `extend_exclude_lines`

# Defaults must be re-listed; we cannot `extend_exclude_lines` #
# ------------------------------------------------------------ #
# Ignore type-checking blocks
'if TYPE_CHECKING:',
# Defensive programming does not need to be covered
Expand Down Expand Up @@ -208,7 +208,6 @@ load-plugins= [
# "pylint.extensions.while_used", # highly opinionated
"pylint.extensions.dict_init_mutate",
"pylint.extensions.dunder",
"pylint.extensions.typing",
# "pylint.extensions.magic_value", # highly opinionated
]
disable=[
Expand Down
9 changes: 9 additions & 0 deletions requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@ pip-tools
wheel

# to run linters and formatters at commit time and CI
black
ruff
mypy
pre-commit

# mypy plugins
types-networkx

# used to run tests
tox
pytest
pytest-cov
pytest-pudb
# pytest-pycharm # It is a bit unstable: https://github.com/jlubcke/pytest-pycharm/issues/13
ipython
Loading

0 comments on commit 91941f9

Please sign in to comment.