Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
add cython language_level setting
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Nov 21, 2021
1 parent 46039a9 commit ae3147d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Aspidites/_vendor/apm/generic.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: language_level=3, annotation_typing=True, c_string_encoding=utf-8, boundscheck=False, wraparound=False, initializedcheck=False
def _elements(thing):
try:
yield from thing.__dict__.values()
Expand Down
1 change: 1 addition & 0 deletions Aspidites/_vendor/apm/match.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: language_level=3, annotation_typing=True, c_string_encoding=utf-8, boundscheck=False, wraparound=False, initializedcheck=False
import re
from itertools import chain
from typing import Union, Any, Optional
Expand Down
1 change: 1 addition & 0 deletions Aspidites/_vendor/apm/no_value.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# cython: language_level=3, annotation_typing=True, c_string_encoding=utf-8, boundscheck=False, wraparound=False, initializedcheck=False
class NoValue:
pass
1 change: 1 addition & 0 deletions Aspidites/_vendor/apm/overload.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: language_level=3, annotation_typing=True, c_string_encoding=utf-8, boundscheck=False, wraparound=False, initializedcheck=False
import inspect
import typing
from typing import Callable, Dict, List
Expand Down
1 change: 1 addition & 0 deletions Aspidites/_vendor/apm/patterns.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: language_level=3, annotation_typing=True, c_string_encoding=utf-8, boundscheck=False, wraparound=False, initializedcheck=False
import decimal
import operator as ops
import re
Expand Down
1 change: 1 addition & 0 deletions Aspidites/_vendor/apm/try_match.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: language_level=3, annotation_typing=True, c_string_encoding=utf-8, boundscheck=False, wraparound=False, initializedcheck=False
import sys

from .core import MatchContext, MatchResult
Expand Down
2 changes: 1 addition & 1 deletion Aspidites/tests/_vendor/contracts/test_new_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from Aspidites._vendor.contracts.library.extensions import identifier_expression

from .utils import check_contracts_fail, check_contracts_ok
from Aspidites._vendor.contracts.main_actual import Storage
from Aspidites._vendor.contracts.parser import Storage
from Aspidites._vendor.contracts.syntax import ParsingTmp

# The different patterns
Expand Down

0 comments on commit ae3147d

Please sign in to comment.