Skip to main content

No project description provided

Project description

About:

Copyright linter

Copytights format:

  • Python code copyrights:
# Copyright (c) 2019 Celadon Development LLC, All rights reserved.
# Author Denis Kazak <denis.kazak@celadon.ae>
  • JavaScript code copyrights:
// Copyright (c) 2019 Celadon Development LLC, All rights reserved.
// Author Denis Kazak <denis.kazak@celadon.ae>

How to use:

  • Install crlint package: $ python3 setup.py install
  • Go to project directory and put .crlintrc in it. Config must have such format:
        [ignore]
        patterns=*.json, *.txt
  • Run crlint command in working directory: $ crlint

Integration with CI:

  • Generate and copy pipeline ssh key and send it to mainteiner of this repo
  • Add such step in your bitbucket-pipelines.yml:
pipelines:
  default:
    - step:
        name: lint copyrights
        image: python:3.7.2
        script:
          - git clone git@bitbucket.org:celadonteam/crtool.git
          - cd crtool
          - python setup.py install
          - cd .. && rm -rf crtool
          - crlint

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

crlint-0.0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

crlint-0.0.1-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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