From 8ac84954360ef4a10f3bc313a8ccb7c0ae58739a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Jul 2026 21:00:18 +0000 Subject: [PATCH] Fix Ruff linting issues: UP009 and FA100 --- docs/conf.py | 1 - sphinx_parser/ase.py | 2 ++ sphinx_parser/input.py | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index f61689e..8a33a02 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # pyCMW documentation build configuration file, created by # sphinx-quickstart on Mon Sep 01 21:59:30 2014. diff --git a/sphinx_parser/ase.py b/sphinx_parser/ase.py index bc093de..ab38c07 100644 --- a/sphinx_parser/ase.py +++ b/sphinx_parser/ase.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from typing import Optional import numpy as np diff --git a/sphinx_parser/input.py b/sphinx_parser/input.py index 95132ef..64012fd 100644 --- a/sphinx_parser/input.py +++ b/sphinx_parser/input.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from typing import Annotated, Optional import numpy as np