Skip to content

Uss-Momas/barcode-generator

Repository files navigation

NLW - Barcode Generator

This project was helded in the 1st edition of 2024 of Rocketseat NLW. The idea is simple, generate an barcode image after receiving a product-code.

Config

  1. Virtual Env
1. pip install virtualenv
2. python -m venv .venv
  1. Linter for python
1. pip install pylint

generate linter config file

2. pylint --generate-rcfile > .pylintrc
  1. Python Pre-commit 3.1 Create a filename
touch .pre-commit-config.yaml or echo '' > .pre-commit-config.yaml

3.2 Append this info

repos:
  - repo: local
    hooks:
      - id: pylint
        name: pylint
        entry: pylint
        language: system
        types: [python]
        args:
          [
            "-rn", # Only display messages
            "-sn", # Don't display the source
            "--rcfile=.pylintrc", # Link to your config file
            "--load-plugins=pylint.extensions.docparams", # Load an extension
          ]

3.3 Install the configurations

pre-commit install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages