Skip to content

Commit

Permalink
Remove from __future__ import annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
posita committed Aug 4, 2023
1 parent a65c8b4 commit 866cd67
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions anydyce/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

from typing import Tuple, Union

from .viz import * # noqa: F401,F403
Expand Down
2 changes: 0 additions & 2 deletions anydyce/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

import asyncio
import base64
import csv
Expand Down
2 changes: 0 additions & 2 deletions docs/assets/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

import argparse
import logging
from functools import partial
Expand Down
2 changes: 0 additions & 2 deletions docs/assets/plot_burst_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

from dyce import H

from anydyce.viz import plot_burst
Expand Down
2 changes: 0 additions & 2 deletions docs/assets/plot_burst_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

from dyce import H

from anydyce.viz import plot_burst
Expand Down
2 changes: 0 additions & 2 deletions docs/assets/plot_burst_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

from fractions import Fraction
from typing import Dict

Expand Down
2 changes: 0 additions & 2 deletions docs/assets/plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

import argparse
import importlib.machinery
import importlib.util
Expand Down
2 changes: 0 additions & 2 deletions helpers/mypy-doctests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

import argparse
import doctest
import logging
Expand Down
2 changes: 0 additions & 2 deletions tests/test_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# software in any capacity.
# ======================================================================================

from __future__ import annotations

import random
import re
from fractions import Fraction
Expand Down

0 comments on commit 866cd67

Please sign in to comment.