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

Support expect_offense template arguments #993

Merged
merged 2 commits into from Aug 9, 2020

Commits on Aug 9, 2020

  1. Pass kwargs to expect_offense

    Pass keyword arguments to `expect_offense` to format offense templates.
    biinari committed Aug 9, 2020
    Copy the full SHA
    166129e View commit details
    Browse the repository at this point in the history
  2. Allow %{name} replacements in specs

    Allow using `%{...}` syntax to substitute values for `expect_offense`.
    biinari committed Aug 9, 2020
    Copy the full SHA
    49e729d View commit details
    Browse the repository at this point in the history