Skip to content

Commit

Permalink
change src to ssri
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Gazey committed Dec 26, 2024
1 parent fe97f32 commit aa3152d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 src/ssri.py --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 ssri/ssri.py --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 src/ssri.py --count --select=E9,F63,F7,F82 --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 ssri/ssri.py --count --select=E9,F63,F7,F82 --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
python -m pytest -s -vv
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ classifiers = [
]

[project.scripts]
ssri = "ssri:main"
ssri = "ssri.ssri:main"

[project.urls]
Homepage = "https://github.com/Sebagabones/Server-Side-Rendered-Includes"

[tool.pytest.ini_options]
pythonpath = [
"src"
"ssri"
]
#addopts = [
# "--import-mode=importlib",
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[pytest]
pythonpath = src
pythonpath = ssri
2 changes: 1 addition & 1 deletion tests/test_stuff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
#import ssri
# import ssri
from src import ssri
import ssri
import sys
import filecmp
import pytest
Expand Down

0 comments on commit aa3152d

Please sign in to comment.