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

Allow sequence of strings or Path objects for allow_paths #65

Closed
iamdefinitelyahuman opened this issue May 2, 2020 · 0 comments
Closed
Labels
enhancement New feature or request

Comments

@iamdefinitelyahuman
Copy link
Contributor

Overview

Currently, allow_paths must be given as a comma-separated string. It would be easier to use and more intuitive if this kwarg instead expected a sequence of either strings or Path objects.

Specification

  1. In main.compile_source, main.compile_files, and main.compile_standard, expect allow_paths to be given as a sequence of strings or Path objects.
  2. Add test cases. Consider the following:
    • PosixPath and WindowsPath
    • absolute and relative paths

Dependencies

#53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant