Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove trailing whitespaces from .lud files #5

Closed
wants to merge 1 commit into from
Closed

Remove trailing whitespaces from .lud files #5

wants to merge 1 commit into from

Commits on Dec 7, 2021

  1. Remove trailing whitespaces from .lud files

    Purpose
    =======
    Remove 143445 white spaces from ludii game files (human linter :) )
    
    Specifications
    =============
    Use simple python script:
    ```py
    for ludii_file in ludii_files:
        lud = open(ludii_file, 'r').read()
        n_lud = '\n'.join(line.rstrip() for line in lud.splitlines())
        # append a newline to the end of the file
        n_lud += '\n'
        open(ludii_file, 'w').write(n_lud)
    ```
    Fabio Barbero committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    5b097ec View commit details
    Browse the repository at this point in the history