Skip to content

Commit

Permalink
Enable new-style type annotations for py<3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Sep 28, 2024
1 parent 710e389 commit 694998e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grayskull/base/factory.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import re
from abc import ABC
from pathlib import Path
Expand Down
2 changes: 2 additions & 0 deletions grayskull/license/discovery.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import base64
import json
import logging
Expand Down
2 changes: 2 additions & 0 deletions grayskull/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import argparse
import logging
import os
Expand Down
2 changes: 2 additions & 0 deletions grayskull/strategy/cran.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import logging
import os
import re
Expand Down
2 changes: 2 additions & 0 deletions grayskull/strategy/py_base.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import logging
import os
import re
Expand Down
2 changes: 2 additions & 0 deletions grayskull/strategy/pypi.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import itertools
import json
import logging
Expand Down

0 comments on commit 694998e

Please sign in to comment.