hugoledoux / startinpy

A Python library for modelling and processing 2.5D terrains using a (2D) Delaunay triangulation.
https://startinpy.rtfd.io/
MIT License
27 stars 8 forks source link

Narrow down exception types #15

Closed DimitrisMantas closed 3 months ago

DimitrisMantas commented 7 months ago

We should throw specific exceptions when possible as per the PEP8 guidelines which state that

try:
    ...
except Exception:
    ...

blocks are a code smell.