Skip to content

Commit

Permalink
Merge pull request #201 from netromdk/add-proj-boundaries
Browse files Browse the repository at this point in the history
Add more project boundaries
  • Loading branch information
netromdk committed Jun 25, 2023
2 parents 18e3193 + ca53f2e commit 864800e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.rst
Expand Up @@ -185,7 +185,8 @@ reached. However, if ``--config-file`` is specified, no config is auto-detected

Config file names being looked for: ``vermin.ini``, ``vermin.conf``, ``.vermin``, ``setup.cfg``

Project boundary files/folders: ``.git``, ``.svn``, ``.hg``, ``.bzr``, ``_darcs``, ``.fslckout``
Project boundary files/folders: ``.git``, ``.svn``, ``.hg``, ``.bzr``, ``_darcs``, ``.fslckout``,
``.p4root``, ``.pijul``

A sample config file can be found `here <sample.vermin.ini>`__.

Expand Down
12 changes: 11 additions & 1 deletion vermin/constants.py
Expand Up @@ -4,4 +4,14 @@
DEFAULT_PROCESSES = cpu_count()
CONFIG_FILE_NAMES = ["vermin.ini", "vermin.conf", ".vermin", "setup.cfg"]
CONFIG_SECTION = "vermin"
PROJECT_BOUNDARIES = [".git", ".svn", ".hg", ".bzr", "_darcs", ".fslckout"]

PROJECT_BOUNDARIES = [
".bzr", # Bazaar
".fslckout", # Fossil
".git", # Git
".hg", # Mercurial
".p4root", # Perforce Helix Core
".pijul", # Pijul
".svn", # Subversion
"_darcs", # Darcs
]

0 comments on commit 864800e

Please sign in to comment.