youpong
youpong
#19 について、雛形を作成してみました。 # 制限 - 固定電話は 09-9999-9999 から 09999-9-9999 の書式で完全にランダムに生成される(市外局番データベースを利用していない)。 - ハイフンの有無で別の番号と識別する。Gimei.unique.phone
オリジナルの gimei や go-gimei などと同じように romaji をサポートしました。
Fix Issue #15
## バグの説明 以下の条件を同時に満たす引数に対して FindNameByKanji が None を返さない。 - 存在しない last_name - 男性名にも女性名にも存在する first_name ## 再現手順 下記コードを実行する。 ```python3 from gimei import Name print(Name.find_name_by_kanji('未入力 太郎')) print(Name.find_name_by_kanji('未入力 凛')) ``` 下記の出力を得る。 ``` None ['凛',...
`Address.__repr__()` と `Address.__str__()` に対しての変更。 Name に対して #7 と #9 でマージした同様の内容となってます。 該当する部分のテストと、README の更新を含みます。 さらに、#7, #9 で導入された Nameのテスト部分も、Address の該当するテストと同様に pytest.fixture を利用して重複部分を削除するように変更しました。
**Describe the bug** Warning for deprecated option --dev on mypy static check. **To Reproduce** Steps to reproduce the behavior: ``` $ poetry run nox -s mypy ``` **Expected behavior** No...
CI を追加しました。
# Description `getlogin(2)` does not return the expected value. Instead, `getpwuid(3)` can be used to retrieve the user name. To test this, I've prepared a repository [youpong/getuser](https://github.com/youpong/getuser). See function `test_getlogin()`...
## Description The following methods might help reduce the image size. 1. Change base distro alpine:latest or [GoogleContainerTools/distroless](https://github.com/GoogleContainerTools/distroless). 2. Change compiler clang/LLVM. The second method would require some changes to...
### Discussed in https://github.com/TanmayPatil105/procfetch/discussions/102 Originally posted by **youpong** February 13, 2023 clang-15 supports std::format similar to Python3's f-Strings. Why not use it? [std::format sample program](https://github.com/youpong/std-format).