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 -i and -o command line options #71

Merged
merged 12 commits into from
Jan 31, 2023

Commits on Jan 30, 2023

  1. Update pre-commit config

    JaapJoris committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    46dabbd View commit details
    Browse the repository at this point in the history
  2. Support Python 3.11

    JaapJoris committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    56365d5 View commit details
    Browse the repository at this point in the history
  3. Remove -i and -o command line options

    The main use case of DjHTML is to modify files in-place. Therefore, the `-i`
    (`--in-place`) argument has been made the default and removed, leaving only
    a deprecation error. The `-o` (`--output-file`) argument has also been
    removed.
    
    Reading from standard input and writing to standard output is still
    supported by using "-" as the filename. By the same mechanism, writing the
    output to a different file is also still possible by using output
    redirection:
    
        djhtml - < input.html > output.html
    
    Since this is a backwards-incompatible change, the next release will
    increment the major version number. No changes have been made to the
    indentation algorithm.
    
    Closes #66
    Closes #69
    Closes #70
    JaapJoris committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    4a44f29 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    c19abf1 View commit details
    Browse the repository at this point in the history
  2. Update README

    JaapJoris committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    3facd12 View commit details
    Browse the repository at this point in the history
  3. Add Python 3.11 to workflow

    JaapJoris committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    9173491 View commit details
    Browse the repository at this point in the history
  4. Attempt to fix workflow

    JaapJoris committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    1cdafb3 View commit details
    Browse the repository at this point in the history
  5. Correctly close input files

    JaapJoris committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    322c319 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19c7a00 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6a3a5ad View commit details
    Browse the repository at this point in the history
  8. Improve deprecation message

    JaapJoris committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    2fc2413 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d837077 View commit details
    Browse the repository at this point in the history