Charlie Miller
d8b299d671
Update get_top_billionaires.py
2024-01-15 09:24:18 +00:00
Charlie Miller
24b3d42ff2
Merge branch 'master' into patch-1
2024-01-15 09:20:38 +00:00
Piotr Idzik
227944eb29
fix: consider months and days in years_old
( #11234 )
...
* fix: do not consider months in `calculate_age`
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update get_top_billionaires.py
* Update get_top_billionaires.py
* Update get_top_billionaires.py
* TODAY = datetime.utcnow()
* Update get_top_billionaires.py
* Update build.yml
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-01-12 17:12:15 +01:00
Charlie Miller
655419a7f7
removed redundant comment
2024-01-03 13:48:48 +00:00
Charlie Miller
aa5885e92a
removed unused import
...
removed unused import
2024-01-03 11:52:40 +00:00
pre-commit-ci[bot]
9c0424c75b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-03 11:51:26 +00:00
Charlie Miller
aae2164cb2
Update get_top_billionaires.py
...
Fixed calculate_age function such that is returns the age correctly from a given timestamp. Fixed doctests to be robust when year changes
2024-01-03 11:50:54 +00:00
Charlie Miller
c7866491ec
Update get_top_billionaires.py
2024-01-02 10:55:59 +00:00
Charlie Miller
553eb820b5
Update get_top_billionaires.py
2024-01-02 10:51:50 +00:00
Charlie Miller
7d55e21dae
Update get_top_billionaires.py
2024-01-02 10:49:06 +00:00
Charlie Miller
cc28eed98a
Update get_top_billionaires.py to fix doctest failure
2024-01-02 10:36:54 +00:00
Caeden Perelli-Harris
5f7819e1cd
Fix get top billionaires BROKEN file ( #8970 )
...
* updating DIRECTORY.md
* fix(get-top-billionaires): Handle timestamp before epoch
* updating DIRECTORY.md
* revert(pyproject): Re-implement ignore lru_cache
* fix(age): Update age to current year
* fix(doctest): Make years since dynamic
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-08-18 05:13:38 -07:00
pre-commit-ci[bot]
41b633a841
[pre-commit.ci] pre-commit autoupdate ( #8168 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.253 → v0.0.254](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.253...v0.0.254 )
* Rename get_top_billionaires.py to get_top_billionaires.py.disabled
* updating DIRECTORY.md
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-03-07 00:10:39 +01:00
Tianyi Zheng
d29afca93b
Fix get_top_billioners.py file name typo ( #8066 )
2023-01-01 14:30:14 +01:00