Skip to main content

YD Technology common libraries

Project description

https://travis-ci.org/ArabellaTech/ydcommon.png?branch=master https://coveralls.io/repos/ArabellaTech/ydcommon/badge.png?branch=master Requirements Status

System Requirements

  • Python 2.7+

Settings

  • IGNORE_QUNIT_HTML_FILES ignore HTML qunits files

  • JSHINT_FILES_FIND JS Hint search files grep. Default -name "*.js" | xargs grep -l '/\*jslint' | grep -v libs

Views

QunitTestsView Qunit tests (stuff permission required), example entry in urls.py:

url(r"^js-tests/(?P<path>.*)", 'ydcommon.views.qunit_view', name='quinit'),

Commands

Checking requirement for tests:

./manage.py check_test_requirements

Running Qunit tests

./manage.py run_qunit

Running JS Hint

./manage.py jshint

Running JS Hint with custom directory

./manage.py jshint --dir=my/custom/dir

Clear database - drop all tables

./manage.py clear_database

Dump database

./manage.py dump_database

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ydcommon-0.1.68.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

ydcommon-0.1.68-py2.py3-none-any.whl (22.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ydcommon-0.1.68.tar.gz.

File metadata

  • Download URL: ydcommon-0.1.68.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ydcommon-0.1.68.tar.gz
Algorithm Hash digest
SHA256 477124e68b3db40597e506753286d3c1bb627c43edef6640dfee5a81ed08f493
MD5 34939bbbfdc3e6b95b1ceee182b10ab4
BLAKE2b-256 c4280398becd7cc5c6f32f1a70447291c05990d5578c656594c9e07c3493dfd2

See more details on using hashes here.

File details

Details for the file ydcommon-0.1.68-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ydcommon-0.1.68-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ae4bac4e94f35ae051f758b4e69dc298bdc46e0704b59247108542df36f08d41
MD5 66a38b0752adaa94a263c46eb87bb41b
BLAKE2b-256 7e0fa0d7bdabbf2372d1b5bba24372369cf7569e2cb34f96b8e3c6352e60076c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page