Skip to content

Commit

Permalink
add git reset for clean checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGupta2012 committed Feb 19, 2025
1 parent 9c62e67 commit 8bbc663
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include README.md
recursive-include src/pyqasm *.py *.pyx
include src/pyqasm/py.typed
include src/pyqasm/py.typed

exclude tests/*
4 changes: 4 additions & 0 deletions bin/cibw/pre_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ echo "Running pre_build.sh"
# Script has an argument which is the project path
project=$1

# Reset any uncommitted changes which may have been made
git reset --hard HEAD
git clean -xdf

# Upgrade pip
python -m pip install --upgrade pip

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ lint = ["black", "isort>=6.0.0", "pylint", "mypy", "qbraid-cli>=0.8.5"]
docs = ["sphinx>=7.3.7,<8.2.0", "sphinx-autodoc-typehints>=1.24,<3.1", "sphinx-rtd-theme>=2.0.0,<4.0.0", "docutils<0.22", "sphinx-copybutton"]

[tool.setuptools_scm]
version_scheme = "no-guess-dev"
write_to = "src/pyqasm/_version.py"

[tool.setuptools.package-data]
Expand Down

0 comments on commit 8bbc663

Please sign in to comment.