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

Add option to ignore files #7

Open
santisoler opened this issue Mar 5, 2024 · 0 comments
Open

Add option to ignore files #7

santisoler opened this issue Mar 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@santisoler
Copy link
Member

Description of the desired feature:

Would be nice if we can include a list of files in the pyproject.toml that we don't want to be checked or modified by burocrata. The syntax could be similar to what isort does with skip, flake8 with exclude, and ruff with exclude.

It would be nice if we can list files and/or globs. For example:

[tool.burocrata]
notice = '''
# Copyright (c) YYYY Name of Developer.
# Distributed under the terms of the BSD 3-Clause License.
# SPDX-License-Identifier: BSD-3-Clause'''
exclude = ["foo/bar.py", "lorem/*.py"]

This idea originated in https://github.com/orgs/fatiando/discussions/139#discussioncomment-8647144

Are you willing to help implement and maintain this feature?

That will be fun!

@santisoler santisoler added the enhancement New feature or request label Mar 5, 2024
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