Skip to content

first_name and last_name accept name with trailing spaces #58

Description

@ajwalkiewicz

That can cause generates weird names like: " " - only spaces

Or like this:

{
    "year": 1925,
    "country": "US",
    "first_name": "    sapces    :)     ",
    "last_name": "Cottle",
    "age": 28,
    "sex": "F",
    "occupation": "professor",
    "strength": 49,
    "condition": 31,
    "size": 50,
    "dexterity": 29,
    "appearance": 22,
    "education": 85,
    "intelligence": 42,
    "power": 31,
    "move_rate": 7,
    "luck": 90,
    "damage_bonus": "0",
    "build": 0,
    "skills": {
        "library use": 86,
        "language (own)": 88,
        "psychology": 68,
        "psychoanalysis": 29,
        "science (forensics)": 90,
        "medicine": 53,
        "science (physics)": 29,
        "language (german)": 17,
        "acting": 10,
        "charm": 18,
        "jump": 21,
        "law": 8,
        "sleight of hand": 20,
        "swim": 82,
        "credit rating": 22
    },
    "doge": 14,
    "sanity_points": 31,
    "magic_points": 6,
    "hit_points": 8
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpython_packageIssues related with cochar python package

    Projects

    Status
    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions