Skip to content
Open
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: 2 additions & 0 deletions .env_template
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SAUCE_USERNAME=""
SAUCE_ACCESS_KEY=""
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,64 @@
*.bak
.env
# Byte-compiled / optimized / DLL files
__pycache__/
*.pyc
*.pyd
*.pyo

# Virtual environment
.venv/
env/
venv/
ENV/
env.bak/
venv.bak/

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
eggs/
*.egg-info/
.installed.cfg
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# IDE-specific files
.idea/ # IntelliJ IDEA / PyCharm
*.iml
.vscode/ # VS Code
.settings/ # Eclipse
.project
.pydevproject

# OS-specific files
.DS_Store # macOS
Thumbs.db # Windows

# Jupyter Notebook files
.ipynb_checkpoints

# MyPy
.mypy_cache/

# Data files
*.log
14 changes: 0 additions & 14 deletions Pipfile

This file was deleted.

151 changes: 0 additions & 151 deletions Pipfile.lock

This file was deleted.

10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ Supported and unsupported cases are documented by tests. If you have a request
or a contribution for new conversions, include a test that proves the issue and
solution and send a pull request.

To install the dependencies (Python 3.7+)

$ python3 -m venv venv
$ source venv/bin/activate
# pip install -r requirements.txt

Populate environment variables
copy the file .env_template to .env and change the value of the variables.
Python-dotenv will get the value and feed the code where necessary

To run all unit tests locally::

$ nosetests tests/test_cssify.py
Expand Down
Loading