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

Updated code coverage, docs #65

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[**.py]
indent_style = tab
tab_width = 4
tab_width = 4
1 change: 0 additions & 1 deletion .gitconfig

This file was deleted.

11 changes: 0 additions & 11 deletions .githooks/commit-msg

This file was deleted.

49 changes: 0 additions & 49 deletions .githooks/pre-commit

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__pycache__/
*.py[cod]
*$py.class
*$py.class
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ build:
tools:
python: "3.11"
sphinx:
configuration: docs/source/conf.py
configuration: docs/source/conf.py
36 changes: 23 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,45 @@
# limitations under the License.
#

FROM debian:10
FROM debian:12
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive \
apt-get install -yq --no-install-recommends \
tree \
htop \
wget \
curl \
unzip \
ca-certificates \
openssl \
python3 \
python3-pip \
python3-wheel \
libyaml-dev \
make \
sdcc
libyaml-dev

RUN pip3 install --upgrade setuptools
RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python3 get-pip.py
RUN python3 -m pip install --upgrade setuptools
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade build
RUN rm -f get-pip.py
COPY requirements.txt /
RUN python3 -m venv env
RUN mkdir /gen_stm32/
COPY gen_stm32 /gen_stm32/
COPY setup.cfg /
COPY pyproject.toml /
COPY MANIFEST.in /
COPY setup.py /
COPY README.md /
COPY requirements.txt /
COPY LICENSE /
RUN mkdir /tests/
COPY tests /tests/
RUN pip3 install -r requirements.txt
RUN rm -f requirements.txt
RUN find /gen_stm32/ -name "*.editorconfig" -type f -exec rm -Rf {} \;
RUN python3 setup.py install_lib
RUN python3 setup.py install_egg_info
RUN python3 setup.py install_data
RUN python3 -m build --no-isolation --wheel
RUN pip3 install /dist/gen_stm32-*-py3-none-any.whl
RUN rm -rf /gen_stm32/
RUN rm -f setup.py
RUN rm -f README.md
RUN rm -f setup.cfg
RUN rm -f pyproject.toml
RUN rm -f MANIFEST.in
RUN rm -f LICENSE
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
global-exclude *.py[cod]
global-exclude *.editorconfig
global-exclude *.editorconfig
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img align="right" src="https://raw.github.com/vroncevic/gen_stm32/dev/docs/gen_stm32_logo.png" width="25%">

# STM32 project skeleton generator

<img align="right" src="https://raw.github.com/vroncevic/gen_stm32/dev/docs/gen_stm32_logo.png" width="25%">

**gen_stm32** is toolset for generation STM32 project skeleton for
development of embedded applications.

Expand Down
6 changes: 5 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
theme: jekyll-theme-cayman
theme: jekyll-theme-cayman
markdown: kramdown
safe: true
kramdown:
parse_block_html: true
Binary file modified docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/doctrees/gen_stm32.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/gen_stm32.pro.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/gen_stm32.pro.read_template.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/gen_stm32.pro.write_template.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/index.doctree
Binary file not shown.
Binary file modified docs/build/doctrees/modules.doctree
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/html/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 5b2cae37502bc9c30a79d5d0812eb4a1
config: 970d8f619072b7466bcd8a5063342d06
tags: 645f666f9bcd5a90fca523b33c5a78b7
Loading