jeremyjh / dialyxir

Mix tasks to simplify use of Dialyzer in Elixir projects.
Apache License 2.0
1.69k stars 141 forks source link

exclude files based on regex; https://github.com/jeremyjh/dialyxir/pull/382 #416

Closed vans163 closed 3 years ago

vans163 commented 3 years ago

Adds a exclude_files config that works off regex, example:

  def project do
    [
      dialyzer: [
        plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
        ignore_warnings: ".dialyzer_ignore.exs",
        exclude_files: [
          "(.*)Elixir.Table.(.*)"
        ]
      ],
    ]
  end
jeremyjh commented 3 years ago

I think I'm good with this but there are some dialyzer warnings showing up in CI that need to be addressed before it can be merged.

vans163 commented 3 years ago

@jeremyjh addressed.