Skip to content

Commit

Permalink
docs: Fixed jekyll build (#5)
Browse files Browse the repository at this point in the history
* docs: Fixed jekyll build

* refactor: Fixed codacy syntax verification
  • Loading branch information
frgfm authored Mar 17, 2020
1 parent 7ea1d35 commit f869f4a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/doc-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
run: |
sphinx-build docs/source docs/build -a
- name: Disable jekyll builds
run: touch docs/build/.nojekyll

- name: Install SSH Client 🔑
uses: webfactory/ssh-agent@v0.2.0
with:
Expand All @@ -54,3 +51,4 @@ jobs:
COMMIT_MESSAGE: '[skip ci] Documentation updates'
CLEAN: true
SSH: true

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"""

import os
import sys
import subprocess
from setuptools import setup, find_packages

Expand Down
2 changes: 1 addition & 1 deletion torchscan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def format_info(module_info, wrap_mode='mid'):
info_str += thick_line

# Layer information
for idx, layer in enumerate(module_info['layers']):
for layer in module_info['layers']:
# name, type, output_shape, nb_params
info_str += (f"{wrap_string(format_name(layer['name'], layer['depth']), 30, mode=wrap_mode):<27.25} "
f"{layer['type']:<20} {str(layer['output_shape']):<25} "
Expand Down

0 comments on commit f869f4a

Please sign in to comment.