-
Notifications
You must be signed in to change notification settings - Fork 56
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
Allow user to force syntax highlighting using config file, env var or command line. Enable syntax highlighting in GitHub Action. #353
Merged
Commits on Apr 10, 2022
-
Add
--color
/--no-color
andPY_COLORS=
The environment variable `PY_COLORS` overrides `color =` from `pyproject.toml`, and the command line options override both of those.
Configuration menu - View commit details
-
Copy full SHA for 5775f2b - Browse repository at this point
Copy the full SHA 5775f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eb1966 - Browse repository at this point
Copy the full SHA 4eb1966View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20a84ce - Browse repository at this point
Copy the full SHA 20a84ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92b0691 - Browse repository at this point
Copy the full SHA 92b0691View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe48b2a - Browse repository at this point
Copy the full SHA fe48b2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1453a8 - Browse repository at this point
Copy the full SHA d1453a8View commit details -
Allow Darker branch in GitHub Action
This helps in testing feature branches like this one in actual GitHub workflows of other repositories.
Configuration menu - View commit details
-
Copy full SHA for ea66e0a - Browse repository at this point
Copy the full SHA ea66e0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a763899 - Browse repository at this point
Copy the full SHA a763899View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30f3044 - Browse repository at this point
Copy the full SHA 30f3044View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8355788 - Browse repository at this point
Copy the full SHA 8355788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ff34e4 - Browse repository at this point
Copy the full SHA 9ff34e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf8a1d3 - Browse repository at this point
Copy the full SHA bf8a1d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a6e5d - Browse repository at this point
Copy the full SHA d3a6e5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52d151a - Browse repository at this point
Copy the full SHA 52d151aView commit details -
Simplify English in README a bit
Thanks @roniemartinez Co-authored-by: Ronie Martinez <ronmarti18@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 53057fd - Browse repository at this point
Copy the full SHA 53057fdView commit details -
Spell true/false in test case as in pyproject.toml
So lower case `true` and `false`.
Configuration menu - View commit details
-
Copy full SHA for e78793c - Browse repository at this point
Copy the full SHA e78793cView commit details -
Matrix parameterize color test without pygments
If `pygments` isn't installed, highlighting should never be used. So these test cases can be easily parameterized as a test matrix. Also simplified the other half of `should_use_color()` tests a bit.
Configuration menu - View commit details
-
Copy full SHA for ff80559 - Browse repository at this point
Copy the full SHA ff80559View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2200bdd - Browse repository at this point
Copy the full SHA 2200bddView commit details -
Add blank line to clarify highlighting usage logic
Thanks @MatthijsBurgh! Co-authored-by: Matthijs van der Burgh <MatthijsBurgh@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for a39b339 - Browse repository at this point
Copy the full SHA a39b339View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.