{ "info": { "author": "Celadon Developers", "author_email": "opensource@celadon.ae", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Environment :: Other Environment", "Intended Audience :: Developers", "Intended Audience :: Other Audience", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.4", "Topic :: Software Development", "Topic :: Software Development :: Debuggers" ], "description": "# Project copyright linter\nA small utility to maintain the copyright status of a project in the correct state.\n\n## Copyright format\n* Python copyright format:\n```python\n# Copyright (c) 20XX Celadon Development LLC, All rights reserved.\n# Author Name Surname \n```\n* JavaScript copyright format:\n```js\n// Copyright (c) 20XX Celadon Development LLC, All rights reserved.\n// Author Name Surname \n```\n\n## Installation\n* install package via pip toolkit: `pip install crtool`\n* configure utility use one of [two available methods](##configuration)\n* run the project copyright linting: `crtool`\n\n## Configuration\nConfiguration settings are applied in two ways: by `setup.cfg` file or `.crlintrc` file.\nThe `setup.cfg` file has more high priority.\nTo set an exclusion pattern to ignore some file formats, use a unix pattern written in one of the files you selected.\n\n* configuration utility in the `setup.cfg` file must have such format:\n```\n[crlint]\npatterns=*.json, *.txt\n```\n* configuration utility in the `.crlintrc` file must have such format:\n```\n[ignore]\npatterns=*.json, *.txt\n```\n\n## Integration with Bitbucket CI:\nAdd such step in your `bitbucket-pipelines.yml` file to run checking a project copyright:\n```yml\npipelines:\n default:\n - step:\n name: Linting copyright\n image: python:3.7.2\n script:\n - pip install crtool\n - crlint\n```\n\n## Update pip package\n* Login to the PiPy repository\n* Increase version in the setup file\n* Create a python package dist\n* Update package on the PyPi repository\n```bash\n# Create a package dist.\npython setup.py sdist bdist_wheel\n\n# Upload package to repository.\npip install twine\ntwine upload -u $CT_PYPI_USERNAME -p $CT_PYPI_PASSWORD dist/*\n```\n\n## Development\nSetup git hook to linting the project before commit.\n```bash\nchmod a+x pre-commit && cp pre-commit .git/hooks\n```\n\nTo run the test and verify the code, follow the commands below:\n```bash\n# To run the project linting.\nflake8 crlint tests\n\n# To run the project testing.\npython -m coverage run -m unittest discover tests/\npython -m coverage report -m\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/celadonteam/crtool", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "crlint", "package_url": "https://pypi.org/project/crlint/", "platform": "any", "project_url": "https://pypi.org/project/crlint/", "project_urls": { "Homepage": "https://bitbucket.org/celadonteam/crtool" }, "release_url": "https://pypi.org/project/crlint/0.1.2/", "requires_dist": null, "requires_python": ">=3.4", "summary": "The project copyright linter", "version": "0.1.2" }, "last_serial": 5471479, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7399da03db697e2cf8b9ba15219c8e87", "sha256": "504dee25871037ab510df26be56e1c51d396149d16d60fcabb3d5b670147509a" }, "downloads": -1, "filename": "crlint-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7399da03db697e2cf8b9ba15219c8e87", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4762, "upload_time": "2019-05-17T16:06:01", "url": "https://files.pythonhosted.org/packages/2f/42/529b816a879d9939a4f7167b1a526a91a1055b616f94a3c7f72d8f92655c/crlint-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92175ebd1af05188b7b8a41eeb30f7b4", "sha256": "9edf81bb07356346294a53758474ebe745ff1fca7eac67b898b4d870056887fb" }, "downloads": -1, "filename": "crlint-0.0.1.tar.gz", "has_sig": false, "md5_digest": "92175ebd1af05188b7b8a41eeb30f7b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2936, "upload_time": "2019-05-17T16:06:03", "url": "https://files.pythonhosted.org/packages/a7/37/82701442814329174eaca07424211c5a9640fd7c37616a7d86e118c7372a/crlint-0.0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bf882bf1dcdf423bea26c0090c08d92b", "sha256": "223d34ab6f4219e38e42cff5aa37535757349817f6b46974b6711c33fbfc0795" }, "downloads": -1, "filename": "crlint-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bf882bf1dcdf423bea26c0090c08d92b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4644, "upload_time": "2019-05-17T16:09:57", "url": "https://files.pythonhosted.org/packages/9f/b2/dfbd44e434721f89b1f405edf33bef183a19628e7fc0a7c9e4faca3c1c91/crlint-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "432355c63d1c25fbe2f6ef1683386793", "sha256": "5d32e35f85ce04a114e6b886ba526c5aad1929e6ca9b40ab19fdf88f63d58ddc" }, "downloads": -1, "filename": "crlint-0.1.1.tar.gz", "has_sig": false, "md5_digest": "432355c63d1c25fbe2f6ef1683386793", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2802, "upload_time": "2019-05-17T16:09:58", "url": "https://files.pythonhosted.org/packages/5c/b6/703fd1ed731edc2768f8e3ed0bc434d3f1637837eef8a3d574d88d55f36f/crlint-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cac87a44911120a9c49927d31555b55c", "sha256": "4005bfdae10bb2763c897b3a7d99bc0bf119c95161cfb5587cda5249daf4ccf7" }, "downloads": -1, "filename": "crlint-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "cac87a44911120a9c49927d31555b55c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 7570, "upload_time": "2019-07-01T14:58:21", "url": "https://files.pythonhosted.org/packages/4f/8c/1b71abfec9e301e5b597a3c740672abbf87f0bfa6126c62fc0cf0f15270c/crlint-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7460d5b8bf442d44b8a9cb2155ea669", "sha256": "bc610a86ca4438890fe168e541f203d81e4f28986166e799f0aec7d822ebe965" }, "downloads": -1, "filename": "crlint-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b7460d5b8bf442d44b8a9cb2155ea669", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 5252, "upload_time": "2019-07-01T14:58:23", "url": "https://files.pythonhosted.org/packages/7f/3e/f1a3c53e0d575f06eb3ec50cf4d4fec3fb92c4eff24b6a4f330bda726ae4/crlint-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cac87a44911120a9c49927d31555b55c", "sha256": "4005bfdae10bb2763c897b3a7d99bc0bf119c95161cfb5587cda5249daf4ccf7" }, "downloads": -1, "filename": "crlint-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "cac87a44911120a9c49927d31555b55c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 7570, "upload_time": "2019-07-01T14:58:21", "url": "https://files.pythonhosted.org/packages/4f/8c/1b71abfec9e301e5b597a3c740672abbf87f0bfa6126c62fc0cf0f15270c/crlint-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7460d5b8bf442d44b8a9cb2155ea669", "sha256": "bc610a86ca4438890fe168e541f203d81e4f28986166e799f0aec7d822ebe965" }, "downloads": -1, "filename": "crlint-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b7460d5b8bf442d44b8a9cb2155ea669", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 5252, "upload_time": "2019-07-01T14:58:23", "url": "https://files.pythonhosted.org/packages/7f/3e/f1a3c53e0d575f06eb3ec50cf4d4fec3fb92c4eff24b6a4f330bda726ae4/crlint-0.1.2.tar.gz" } ] }