Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b7988b

Browse files
author
hauntsaninja
committed
check for conflicting projects
1 parent 5a7264d commit 2b7988b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

primer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ def main() -> None:
727727
deps=["git+git://github.com/numpy/numpy-stubs.git@master"],
728728
),
729729
]
730-
730+
assert len(PROJECTS) == len({p.name for p in PROJECTS})
731731

732732
if __name__ == "__main__":
733733
main()

test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ isort --diff --check --quiet .
44
black --diff --check --quiet .
55
flake8 --max-line-length 100
66
mypy -m primer --strict --no-warn-return-any
7+
python -c 'import primer'

0 commit comments

Comments
 (0)