Compare commits

...

4 Commits

Author SHA1 Message Date
96048a93ff Bump wheel from 0.37.1 to 0.38.1
Bumps [wheel](https://github.com/pypa/wheel) from 0.37.1 to 0.38.1.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.37.1...0.38.1)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 21:55:26 +00:00
72b12a5ca2 Lint 2022-03-15 10:36:39 +02:00
1831ddfb49 Bump version: 0.29.2.2 → 0.29.2.3 2022-03-11 12:01:40 +02:00
f9d2ad85c2 bugfix 2022-03-11 12:01:30 +02:00
5 changed files with 8 additions and 6 deletions

View File

@ -4,7 +4,7 @@
__author__ = """Eriks Karls"""
__email__ = "eriks@72.lv"
__version__ = "0.29.2.2"
__version__ = "0.29.2.3"
from erepublik.citizen import Citizen

View File

@ -412,8 +412,10 @@ class MyCompanies:
return (c for c in self._companies)
def get_wam_holdings(self) -> Generator[Holding, None, None]:
for holding in sorted(self.holdings.values(), key=lambda h: (-len(h.get_wam_companies(False)), -len(h.get_wam_companies()))):
for holding in sorted(
self.holdings.values(), key=lambda h: (-len(h.get_wam_companies(False)), -len(h.get_wam_companies()))
):
yield holding
def __str__(self):
return f"MyCompanies: {sum(1 for _ in self.companies)} companies in {len(self.holdings)} holdings"

View File

@ -12,5 +12,5 @@ pur==6.0.1
responses==0.18.0
Sphinx==4.4.0
twine==3.8.0
wheel==0.37.1
wheel==0.38.1
black==22.1.0

View File

@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.29.2.2
current_version = 0.29.2.3
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\.?(?P<dev>\d+)?

View File

@ -49,6 +49,6 @@ setup(
test_suite="tests",
tests_require=test_requirements,
url="https://github.com/eeriks/erepublik/",
version="0.29.2.2",
version="0.29.2.3",
zip_safe=False,
)