Skip to content

Commit

Permalink
Merge pull request #60 from takkii/develop
Browse files Browse the repository at this point in the history
Update.
  • Loading branch information
takkii authored Feb 10, 2024
2 parents dec772c + 0edad0d commit 024cada
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pake.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
py_major: Optional[int] = sys.version_info[0]
py_minor: Optional[int] = sys.version_info[1]

# 3.12 or less python version is required.
if py_major == 3 and py_minor < 12:
# 3.5 or higher and 3.12 or less python version is required.
if (py_major == 3 and py_minor < 12) and (py_major == 3 and py_minor > 4):
print('--------------------------------------------------------------')

# Run, unit/xunit.py
Expand Down
8 changes: 4 additions & 4 deletions rplugin/python3/deoplete/sources/go_straight.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ def get_complete_position(self, context):
def gather_candidates(self, context):
try:
# It doesn't support python4 yet.
py_major: Optional[int] = sys.version_info[0]
py_minor: Optional[int] = sys.version_info[1]
py_mj: Optional[int] = sys.version_info[0]
py_mi: Optional[int] = sys.version_info[1]

# 3.5 or higher python version is required.
if py_major == 3 and py_minor > 4:
# 3.5 or higher and 3.12 or less python version is required.
if (py_mj == 3 and py_mi < 12) and (py_mj == 3 and py_mi > 4):

# Settings, Config path is true/false change.
config_load: Optional[str] = '~/config/load.yml'
Expand Down

0 comments on commit 024cada

Please sign in to comment.