Skip to main content

alxcheck

ALX test Suite. Shell Utility that checks for ALX Project Requirements

Dependencies

Features

alxcheck checks for the following:

General

  • README.md file present.
  • README.md file is not empty.
  • All files in the current folder and sub-folders end with a new line.

C

  • runs betty check.

    Note: You would have to make sure betty is installed. Check out How To Install Betty

Python

  • Python file is executable.
  • shebang is present and at the top of the file (#!/usr/bin/python3 or #!/usr/bin/env python3)
  • Module documentation (docstrings)
  • Function documentation (docstrings)
  • Class documentation (docstrings)
  • Parse and check for syntax error.

JavaScript

  • Javascript file is executable

    Note: enabled with -js or --nodejs-project command line switch. See Usage below

  • shebang is present and at the top of the file (#!/usr/bin/node or #!/usr/bin/env node)

    Note: enabled with -js or --nodejs-project command line switch. See Usage below

  • semistandard check

    Note: you would have to install semistandard npm install semistandard -g

  • var is not used.

Installation

pip install alxcheck

or

python3 -m pip install alxcheck

Usage

After installation, to use this package, just run it as a shell command. This starts the checks with the current working directory as the root of the project.

alxcheck

If the project is a JavaScript project with node.js scripts, a command line switch can be used to enable the first two checks listed above.

alxcheck -js #shorthand version

or

alxcheck --nodejs-project #long version

Contributing

Feel free to contribute to the project by opening issues or submitting pull requests. Your feedback is valuable!

License

This project is licensed under the MIT License.

Metadata

Release files for alxcheck 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alxcheck 0.1.3
File Size Uploaded
alxcheck-0.1.3.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alxcheck 0.1.3
File Interpreter ABI Platform
alxcheck-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / alxcheck-0.1.3.tar.gz

Download URL alxcheck-0.1.3.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
37cef73f6ab1e5abf88b6896878d8c84e85209976462128891798c73621231eb
BLAKE2b-256 checksum
How to use checksums
cb551c4d19469a777d5adf9fe820962c52508a44f4d44e9b9dd9cd7c27f2893e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / alxcheck-0.1.3-py3-none-any.whl

Download URL alxcheck-0.1.3-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89dce95257dc289a7d8caca23b60a60c031981eb0c08cabec7d6771e0310df51
BLAKE2b-256 checksum
How to use checksums
c2b43b2ebceb1ae78bb1cd236fd82ef696e1e8e091d69e86f3558cdc0c516fca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page