Skip to content

[pull] master from joke2k:master#57

Open
pull[bot] wants to merge 1477 commits into
greedforgood:masterfrom
joke2k:master
Open

[pull] master from joke2k:master#57
pull[bot] wants to merge 1477 commits into
greedforgood:masterfrom
joke2k:master

Conversation

@pull

@pull pull Bot commented Jan 5, 2022

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull Bot added the ⤵️ pull label Jan 5, 2022
@coveralls

coveralls commented Jan 5, 2022

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 4199153400

  • 1102 of 1192 (92.45%) changed or added relevant lines in 152 files are covered.
  • 258 unchanged lines in 66 files lost coverage.
  • Overall coverage decreased (-3.5%) to 95.534%

Changes Missing Coverage Covered Lines Changed/Added Lines %
faker/providers/bank/es_AR/init.py 6 7 85.71%
faker/providers/currency/da_DK/init.py 4 5 80.0%
faker/providers/currency/es_AR/init.py 4 5 80.0%
faker/providers/currency/es_CL/init.py 4 5 80.0%
faker/providers/geo/bn_BD/init.py 5 6 83.33%
faker/typing.py 15 16 93.75%
faker/utils/loading.py 2 3 66.67%
faker/providers/automotive/bn_BD/init.py 17 19 89.47%
faker/providers/geo/el_GR/init.py 0 2 0.0%
faker/providers/lorem/en_PH/init.py 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
faker/cli.py 1 82.57%
faker/generator.py 1 92.86%
faker/providers/address/hy_AM/init.py 1 98.08%
faker/providers/address/pt_BR/init.py 1 97.14%
faker/providers/geo/init.py 1 96.55%
faker/providers/person/fa_IR/init.py 1 92.31%
faker/providers/person/pl_PL/init.py 1 98.84%
faker/providers/person/ru_RU/init.py 1 96.88%
faker/providers/phone_number/zh_CN/init.py 1 83.33%
faker/providers/ssn/cs_CZ/init.py 1 95.65%
Totals Coverage Status
Change from base Build 1655135443: -3.5%
Covered Lines: 9028
Relevant Lines: 9450

💛 - Coveralls

fabien-michel and others added 11 commits October 7, 2025 09:39
Co-authored-by: Fabien MICHEL <fmichel@adista.fr>
* feat: add base bank method

* chore: remove duplicate overloaded bank() method

* chore: run make lint

* chore: add test for new error handling

* fix: use AttributeError so the auto doc tool doesn't crash

* fix: update test to use AttributeError
Co-authored-by: Alexander Tislichenko <altis1024@gmail.com>
Co-authored-by: Fabien MICHEL <fmichel@adista.fr>
…2397)

* Fix #2370: Add allowed_path_traversal_elements option to file_path()

* Add unit tests for allowed_path_traversal_elements in file_path()

---------

Co-authored-by: Flavio Curella <89607+fcurella@users.noreply.github.com>
fcurella and others added 28 commits July 20, 2026 16:24
The assertion expected two directory segments but depth=3 produces three.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
* feat(pt_BR): support alphanumeric CNPJ via flag

* docs(pt_BR): document CNPJ source on cnpj method
Co-authored-by: Cursor <cursoragent@cursor.com>
uuid1() and uuid7() built their timestamp bits from time.time(), so their
output changed between runs even with a fixed seed, unlike uuid4(). This
contradicts Faker's documented seeding guarantee and the methods' own
docstrings, which state the timestamp is drawn to ensure seedability.

Draw the timestamp from the seeded generator instead of the wall clock,
keeping the RFC 4122 / RFC 9562 version and variant bit layout intact. Add
test_uuid1_seedability and test_uuid7_seedability mirroring
test_uuid4_seedability.

Closes #2426
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…2428)

pydecimal already rejected positive=True combined with a negative or zero
min_value, but not max_value. With a negative max_value, the sign logic set the
sign to negative before taking positive into account, so
pydecimal(positive=True, max_value=-3) silently returned negative values. Add
the symmetric max_value guard, mirroring the existing min_value check, and
cover it with a regression test.
Co-authored-by: Cursor <cursoragent@cursor.com>
#2409)

The da_DK bank provider used a 16-digit bban_format, producing 20-character
IBANs. The official Danish IBAN length is 18 (14-digit BBAN: 4-digit bank
reg. number + 10-digit account number), so every generated value failed
length validation against the ISO 13616 registry (verified with python-stdnum).

Correct bban_format to 14 digits and add a TestDaDk test asserting the BBAN
format, IBAN validity, country code, and 18-character length.

Co-authored-by: CedricConday <cedric@conday.digital>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: CedricConday <cedric@conday.digital>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Updated the security policy to clarify supported versions and reporting process.
Revise security policy for clarity and updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.