diff-shades

The Black shade analyser and comparison tool.

MIT License

Stars
11
Committers
6
diff-shades - 22.4b1 Latest Release

Published by ichard26 over 2 years ago

I know there are quite a few features still unimplemented, but diff-shades is being used in production so it's time to stop pretending it's still in alpha :)

  • Record tracebacks for failures too. show-failed will show 'em with --show-log although log files take precedence.
  • Normalize log file paths for AST equivalence / stability check errors to avoid constant run to run differences.
  • Colour the (allowed) tag green emitted by show-failed so it's more visible

Full Changelog: https://github.com/ichard26/diff-shades/compare/22.3a1...22.4b1

diff-shades - 22.3a1

Published by ichard26 over 2 years ago

There's now a logo for diff-shades! woo!

  • Added --force-stable-style and --force-preview-style to forcefully set the code style across all projects.
  • Added -r as a short alias of --repeat-projects-from.
  • Added --check-allow so pre-existing failures don't cause show-failed --check to return one.
  • Log files produced when a file fails to format are now recorded and can be pulled via the show or show-failed commands.
  • --show-locals is also forcefully set on GHA.
  • Analyses can now be automatically zipped at save time by using the .zip file extension.
  • Fixed output suppression during project setup, hopefully this is the last fix needed to avoid stray output ^^
  • Removed --show-project-revision; instead pass -v or --verbose twice to achieve the same effect.

Full Changelog: https://github.com/ichard26/diff-shades/compare/21.12a7...22.3a1

diff-shades - 21.12a7

Published by ichard26 almost 3 years ago

  • Also show how many lines, files, and projects were analyzed in the comparison summary.
  • Add --show-project-revision as a less noisy alternative to --verbose which ONLY shows the project revisions (and not the result of each file).

Full Changelog: https://github.com/ichard26/diff-shades/compare/21.12a6...21.12a7

diff-shades - 21.12a6

Published by ichard26 almost 3 years ago

  • Don't forcefully set --force-colors if --no-colors was passed on GHA.
  • Add --quiet to the compare command to suppress the unnecessary log messages.
diff-shades - 21.12a5

Published by ichard26 almost 3 years ago

  • When running on GitHub Actions, --force-colors and the width will be forcefully set for you.
diff-shades - 21.12a4

Published by ichard26 almost 3 years ago

First version of diff-shades I'm willing to share publicly!

Thank you to black-primer and mypy-primer for all of their ideas I graciously stole :p