<!-- Hi there! Thank you for wanting to make Pendulum better. Before you submit this; let's make sure of a few things. Please make sure the following boxes are ticked if they are correct. If not, please try and fulfill these first. --> <!-- Checked checkbox should look like this: [x] --> - [ x] I have searched the [issues](https://github.com/sdispater/pendulum/issues) of this repo and believe that this is not a duplicate. - [ x] I have searched the [documentation](https://pendulum.eustace.io/docs/) and believe that my question is not covered. ## Feature Request <!-- Now feel free to write your idea for improvement. Thanks again 🙌 ❤️ --> This doesn't affect operations, but it does cause my linter to flag. The diff method: ```py def diff( # type: ignore[override] self, dt: datetime.datetime | None = None, abs: bool = True ) -> Interval: """ Returns the difference between two DateTime objects represented as an Interval. """ if dt is None: dt = self.now(self.tz) return Interval(self, dt, absolute=abs) ``` will complain if the dt type is a Pendulum DateTime object.
Activity