Skip to content

Commit 93efa02

Browse files
committed
🎨 sort imports, format codebase with black
1 parent 2f955cc commit 93efa02

File tree

9 files changed

+1198
-599
lines changed

9 files changed

+1198
-599
lines changed

.github/workflows/cdci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1818
steps:
1919
- uses: actions/checkout@v4
20+
- uses: psf/black@stable
21+
- uses: isort/isort-action@v1
2022
- name: Set up Python ${{ matrix.python-version }}
2123
uses: actions/setup-python@v5
2224
with:

src/vuegen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.0"
1+
__version__ = "1.0.0"

src/vuegen/__main__.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ def main():
2626
# https://docs.python.org/3/library/argparse.html#printing-help
2727
parser.print_help()
2828
sys.exit(1)
29-
29+
3030
if config_path and dir_path:
3131
print("Please provide only one of configuration file or directory path:\n")
3232
parser.print_help()
33-
sys.exit(1) # otherwise could resort to either or ?
33+
sys.exit(1) # otherwise could resort to either or ?
3434

3535
# Define logger suffix based on report type and name
3636
logger_suffix = f"{report_type}_report_{str(report_name)}"
@@ -39,11 +39,14 @@ def main():
3939
logger = get_logger(f"{logger_suffix}")
4040

4141
# Generate the report
42-
report_generator.get_report(report_type=report_type,
43-
logger=logger,
44-
config_path=config_path,
45-
dir_path=dir_path,
46-
streamlit_autorun=streamlit_autorun)
42+
report_generator.get_report(
43+
report_type=report_type,
44+
logger=logger,
45+
config_path=config_path,
46+
dir_path=dir_path,
47+
streamlit_autorun=streamlit_autorun,
48+
)
49+
4750

48-
if __name__ == '__main__':
51+
if __name__ == "__main__":
4952
main()

src/vuegen/config_manager.py

Lines changed: 147 additions & 97 deletions
Large diffs are not rendered by default.

src/vuegen/quarto_reportview.py

Lines changed: 280 additions & 141 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)