guilatrova/tryceratops
A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs).
PythonMIT
Pinned issues
Issues
- 0
TRY002 does not take into account BaseException
#73 opened by epenet - 1
Chokes on valid `pyproject.toml`.
#71 opened by emcd - 0
- 2
- 0
- 0
- 5
False positive use 'exception' instead of 'error' when raisign a parser error with ``argparse``
#35 opened by Pierre-Sassoulas - 0
- 1
- 0
- 0
Tryceratops doesn't support Python 3.10 syntax
#54 opened by guilatrova - 0
- 1
Documentation for TC003 contains f-string error
#56 opened by cfxegbert - 3
mypy raises many warnings
#17 opened by MaxG87 - 2
Documenting all error codes with examples
#50 opened by GlenNicholls - 4
- 0
Add dependency caching for faster builds
#40 opened by guilatrova - 3
- 1
- 2
`UnicodeDecodeError` on Windows
#42 opened by tobiasraabe - 6
New violation: Prefer TypeError for unexpected types
#32 opened by sbrugman - 6
- 1
isinstance(x, Callable) => callable(x)
#36 opened by sbrugman - 4
- 4
- 4
tryceratops sometimes fails to create `.tryceratops-errors.log`, raising `FileNotFoundError` when checking
#29 opened by paw-lu - 9
Provide file names when "Failed to process {len(self.discovery.failures)} files" is returned
#18 opened by ryancheley - 4
Is it bad to capture a bare `Exception`?
#22 opened by MaxG87 - 1
Circular import detected
#21 opened by MaxG87 - 2
Inline comments to ignore violations
#15 opened by rodrigogiraoserrao - 6
- 2
CI/CD Automate package publishing and versioning with semantic release and Poetry
#19 opened by guilatrova - 2
How to run the test suite?
#16 opened by MaxG87 - 4
- 9
Better naming: tryceratops and triceratops
#3 opened by kseistrup - 2
Using experimental mode yields AttributeError
#4 opened by MaxG87 - 3
Cannot unpack non-iterable NoneType object
#11 opened by niderhoff - 1