Skip to content

Commit 4cb22bb

Browse files
committed
revert to a1e7ae9
1 parent 6420d09 commit 4cb22bb

File tree

4 files changed

+4
-40
lines changed

4 files changed

+4
-40
lines changed

.github/workflows/static_code_analysis.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ namespaces = false
173173
'*' = [
174174
'* __pycache__',
175175
'*.py[co]',
176-
'static_code_analysis.txt',
177176
]
178177

179178
[tool.bumpversion]

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _get_minimum_versions(dependencies, python_version):
6666
for dependency in dependencies:
6767
if '@' in dependency:
6868
name, url = dependency.split(' @ ')
69-
min_versions[name] = f'{url}#egg={name}'
69+
min_versions[name] = f'{name} @ {url}'
7070
continue
7171

7272
req = Requirement(dependency)

tests/test_tasks.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"""Tests for the ``tasks.py`` file."""
2-
31
from tasks import _get_minimum_versions
42

53

@@ -16,7 +14,7 @@ def test_get_minimum_versions():
1614
"pandas>=1.2.0,<2;python_version<'3.10'",
1715
"pandas>=1.3.0,<2;python_version>='3.10'",
1816
'humanfriendly>=8.2,<11',
19-
'pandas @ git+https://github.com/pandas-dev/pandas.git@master',
17+
'pandas @ git+https://github.com/pandas-dev/pandas.git@master#egg=pandas'
2018
]
2119

2220
# Run
@@ -26,12 +24,12 @@ def test_get_minimum_versions():
2624
# Assert
2725
expected_versions_39 = [
2826
'numpy==1.20.0',
29-
'git+https://github.com/pandas-dev/pandas.git@master#egg=pandas',
27+
'pandas @ git+https://github.com/pandas-dev/pandas.git@master#egg=pandas',
3028
'humanfriendly==8.2',
3129
]
3230
expected_versions_310 = [
3331
'numpy==1.23.3',
34-
'git+https://github.com/pandas-dev/pandas.git@master#egg=pandas',
32+
'pandas @ git+https://github.com/pandas-dev/pandas.git@master#egg=pandas',
3533
'humanfriendly==8.2',
3634
]
3735

0 commit comments

Comments
 (0)