07 Ekim 2022

Writing a PEP8 Standart of Python Code


Hi, 


I use flake8 in my code you should install :

pip install flake8


After that you can use like:

 flake8 example.py



In the Visual Studio Code you can use cornflakes-linter
















If you want to ignore some error create a 

.flake8

file and write:

[flake8]

ignore=E501 


Example ss for flake8 and cornflakes-linter in VS Code





This is the website of flake8 you can check for more details.

https://flake8.pycqa.org/en/latest/


This is the website of pep8 you can check for more details.
 https://pep8.org/

Hiç yorum yok:

Yorum Gönder

Detaylı ve Verimli Yapay Zeka ve Dil Modelleri Kullanım Rehberi

  📌 Bölüm 1: Temel Prompt Yapısı Yapay zekâ ile en iyi sonuçları almak için önce nasıl soru soracağınızı bilmeniz gerekiyor. Claude, ChatG...